Protocols
The following protocols are available globally.
-
Undocumented
See moreDeclaration
Swift
public protocol FloatConvertible
-
Allows CGPoint, CGSize and CGVector to be approximately interchangable You can do maths with mixed types You can easily convert between them For example: CGPoint() + CGSize() or CGSize() * 3 Extends accessors to apply to all types. So - cgPoint.width or cgSize.x are available
See moreDeclaration
Swift
public protocol Vector
-
Undocumented
See moreDeclaration
Swift
public protocol NibLoadable
-
Undocumented
See moreDeclaration
Swift
public protocol FromStoryboard : AnyObject
-
Add this to any UIViewController to let it easily present a UIDocumentInteractionController controller using openPreview(…)
See more -
Add this to any UIViewController to let it easily present a SFSafariView controller using openSafari(url:)
See more