Sitemap
Design + Sketch

A collection of articles, tips, tutorials, and stories on UI, UX and web design and prototyping with Sketch and beyond

Sketch Plugin Snippets for Plugin Developers

6 min readJul 14, 2015

--

Layer Search

Abstract Search Functions
Search by Name
NSPredicate.predicateWithFormat("objectID == %@", layerID)
Search Symbols and Shared Styles
Find Artboards matching widths of iOS screens
Find Text Layers containing string

Selecting Layers

Select based on Type

Sorting Layers by Property

Working with Shape Layers

Combine Shapes

Shape Boolean Union
Shape Boolean Subtract
Shape Boolean Intersect
Shape Boolean Difference

Flatten Shape Groups

Flatten a Shape Group

Simplify Shape Paths

Simplify Shape Paths

Align and Distribute Layers

Align Selected Layers
Distribute Selected Layers

Working with JSON and Text Files

Working with Text Layers

var range = NSMakeRange(15, 4)

 by the author.

--

--

Design + Sketch
Design + Sketch

Published in Design + Sketch

A collection of articles, tips, tutorials, and stories on UI, UX and web design and prototyping with Sketch and beyond

Aby Nimbalkar
Aby Nimbalkar

Written by Aby Nimbalkar

Hacking Design and Productivity

Responses (7)