Other Extensions
The following extensions are available globally.
-
Declaration
Swift
struct Dictionary<Key, Value> : Collection, ExpressibleByDictionaryLiteral where Key : Hashable
-
A set of convenience initializers that create new
CALayer
instances from SVG data.If you choose to use these initializers, it is assumed that you would like to exercise a higher level of control. As such, you must provide a completion block and then add the passed
See moreSVGLayer
to the layer of your choosing. Use the UIView extensions if you prefer the easier to use one-liner initializers.Declaration
Swift
class CALayer : NSObject, NSCoding, CAMediaTiming
-
Convenience initializer that can parse a single path string and returns a
See moreUIBezierPath