Questions tagged [sketchapp]

Digital design application for Mac, produced by Bohemian Coding.

117 questions
0
votes
1 answer

Specifying UIBezierPath points with corner radii like in drawing apps (e.g. Sketch)

In drawing apps such as Sketch, when you draw a vector, you can specify a custom corner radius for each point individually. For example, here is a 5 point vector, with the middle point's corner radius set to 17: (The top left and bottom right…
Senseful
  • 86,719
  • 67
  • 308
  • 465
0
votes
1 answer

How to repair a corrupted Sketch file destroyed by a program crash on Catalina?

I am using Sketch on Catalina. After a crash of Sketch my document (412mb) could not be opened any more. I need this document to be opened to save having to redo a week's work. Is there any way to repair a corrupted Sketch file - like adding any…
headkit
  • 3,307
  • 4
  • 53
  • 99
0
votes
2 answers

Xcode debug executable failed

I am working on a sketch plugin project with xcode. A sketch plugin can be understood as a framework bundle. In the scheme of my project, i set the Execatable to Sketch.app ,and i also checed the Debug executable box. When i run my project, i got…
Wang.Ying
  • 11
  • 2
0
votes
1 answer

Export Sketch text strings to Android string.xml?

This may be a crazy question - but has anyone managed to export text strings from Sketch into a text file in some a structured way? For example, I want to export the text element/layer name (for example, home_welcome) and the text value (for…
jhaaaa
  • 96
  • 10
0
votes
1 answer

Issue when exporting SVG with a gradient from Sketch App

I have an issue when I export SVGs from Sketch, the gradient looks different in all browsers than it is in Sketch. The problem is in the gradient direction, it's totally opposite. Any thoughts on how to fix this? Sketch: Chrome:
0
votes
0 answers

Removing text styles in Sketch

I had imported some text styles(JSON format) in my sketch file initially using "Shared text styles" plugin for sketch. Now I have a text style library that I have linked to my file. My problem is that I cannot seem to get rid of the initial text…
Mayank sagar
  • 113
  • 1
  • 6
0
votes
1 answer

Has the syntax for NSArray arrayWithObject changed in recent Sketch versions?

I developed a plugin that includes an array of acceptable file extensions. Up until recent versions of Sketch, the syntax looked like: var fileTypes = [NSArray arrayWithObjects:@'scss',@'less',@'css',nil]; An error is being thrown, stating: ObjC…
Phil Sinatra
  • 419
  • 3
  • 11
0
votes
1 answer

How can i insert material icons into Material Theme Editor

Firstly, i want to use icon from my theme editor library. but they request to download icon as i need in following picture. i made download they give me .sketch file. My question is that how can I insert that icon sketch file to my theme editor…
amlwin
  • 4,059
  • 2
  • 15
  • 34
0
votes
0 answers

Creating a for loop for positioning elements in Javascript

I am learning programming by doing and just realized I am lacking some fundamentals regarding loops. Currently, I am creating a Plugin for Sketch (a program for designers). Basically, I have a library of symbols which should be placed on an…
0
votes
0 answers

Upload local file with fetch / content-type: octet-stream

I am currently developing a Sketch Plugin, where an image gets sent to the Microsoft Custom Vision API for object detection. The Sketch Plugin itself is written in Javascript, a fs polyfill and a fetch polyfill is available. An API call with an…
0
votes
1 answer

How to user sketch app sources templates on android studio?

I'm looking for a way to use sketchappsources.com templates on android studio, I found out that the sketch official application is working only on MAC OS and there is an alternative called Lunacy (by Icon8) that works on windows, the problem is that…
hereForLearing
  • 1,209
  • 1
  • 15
  • 33
0
votes
1 answer

Get width of selected layer with Sketch API

Writing my first Sketch plugin and I'm trying to get the width of a selected layer. export default function(context) { const selectedLayers = context.selection; const selectedCount = selectedLayers.length; if (selectedCount === 0) { …
Aen Tan
  • 3,305
  • 6
  • 32
  • 52
0
votes
1 answer

Copy folder to a non-empty directory

Is it possible to copy a folder to a non empty destination without deleting the contents of the destination folder first? My current implementation is as follows var folderObject =…
Vardaan
  • 47
  • 1
  • 7
0
votes
1 answer

Make a Circle Fade?

I have the following image. I am using Sketch. How can I make the white circle fade into the Green background?
Everett
  • 387
  • 1
  • 4
  • 17
0
votes
1 answer

Create sketch type shadow

I created a sketch design with shadows but when i tried implementing this in Xcode with swift i am not getting my desired result this is what i want to achieve But this is what i keep getting Here is the code i am using extension CALayer { func…
Sagaya Abdul
  • 151
  • 1
  • 11