0.1.28 • Published 7 years ago
@skpm/util v0.1.28
util for Sketch
All the util nodejs API is available.
Additionally, 5 more methods are available:
isNativeObject: return whether the argument is a native objc objectgetNativeClass: return the class name of a native objecttoArray: cast assimilated arrays (NSArray) to a proper JS arraytoObject: cast assimilated objects (NSDictionary) to a proper JS objecttoJSObject: cast any object or primitive into its proper JS counterpart. Note thatNSDictionaryandNSArrayelements are not recursively converted unless anoptionsobject is passed as the second argument andoptions.recurseis set totrue
Because of CocoaScript, isNull is not going to work.
0.1.28
7 years ago
0.1.27
7 years ago
0.1.26
7 years ago
0.1.25
7 years ago
0.1.24
7 years ago
0.1.23
7 years ago
0.1.22
7 years ago
0.1.21
7 years ago
0.1.20
7 years ago
0.1.19
7 years ago
0.1.18
7 years ago
0.1.17
7 years ago
0.1.16
7 years ago
0.1.15
7 years ago
0.1.14
7 years ago
0.1.13
7 years ago
0.1.12
7 years ago
0.1.11
7 years ago
0.1.10
7 years ago
0.1.9
7 years ago
0.1.8
8 years ago
0.1.7
8 years ago
0.1.6
8 years ago
0.1.5
8 years ago
0.1.4
8 years ago
0.1.3
8 years ago
0.1.2
8 years ago
0.1.1
8 years ago
0.1.0
8 years ago