Extensions
The following extensions are available globally.
-
This extension allows us to get the displayed height and width (given a full-sized canvas -so no wrapping or truncating) of an attributed string.
See moreDeclaration
Swift
extension NSAttributedString
-
This extension adds a few simple accessors for some of the more common bundle items.
See moreDeclaration
Swift
extension Bundle
-
Flags for various display modes.
See moreDeclaration
Swift
extension UIViewController
-
We add a couple of ways to deal with first responders.
See moreDeclaration
Swift
extension UIView