Extensions
The following extensions are available globally.
- 
                  
                  This allows us to declare an array of weak references to be an array of their contents. See moreNote Only currently allocated references will be included, and this establishes a strong reference. DeclarationSwift public extension Array where Element: AnyObject
- 
                  
                  This extension adds a few simple accessors for some of the more common bundle items. See moreDeclarationSwift public extension Bundle
- 
                  
                  This makes it easier to convert between Degrees and Radians. See moreDeclarationSwift public extension CGFloat
- 
                  
                  Adds calculations to the CGSize struct. See moreDeclarationSwift public extension CGSize
- 
                  
                  DeclarationSwift public extension Date
- 
                  
                  NOTE: These extensions feature some use of Apple’s built-in CommonCrypto utility. See moreDeclarationSwift public extension StringProtocol
- 
                  
                  This was inspired by this SO answer These casts are relatively safe, as the returned Arrays will not include any of the remainder memory, in unaligned streams. This means that the last memory may not be included in casts. See moreDeclarationSwift public extension ContiguousBytes
- 
                  
                  These can be applied to any fixed-width integer (signed or unsigned). See moreDeclarationSwift public extension FixedWidthInteger
- 
                  
                  This makes it easier to convert between Degrees and Radians. See moreDeclarationSwift public extension Double
 View on GitHub
            View on GitHub
           Extensions  Reference
      Extensions  Reference