Extensions
The following extensions are available globally.
-
This extension adds a few simple accessors for some of the more common bundle items.
See moreDeclaration
Swift
public extension Bundle
-
This makes it easier to convert between Degrees and Radians.
See moreDeclaration
Swift
public extension CGFloat
-
Adds calculations to the CGSize struct.
See moreDeclaration
Swift
public extension CGSize
-
Declaration
Swift
public extension Date
extension Date: @retroactive Strideable
-
NOTE: These extensions feature some use of Apple’s built-in CommonCrypto utility.
See moreDeclaration
Swift
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 moreDeclaration
Swift
public extension ContiguousBytes
-
This makes it easier to convert between Degrees and Radians.
See moreDeclaration
Swift
public extension Double
-
This makes it easier to convert between Degrees and Radians.
See moreDeclaration
Swift
public extension Float
-
This extension will add a new set of capabilities to the native UInt64 data type.
See moreDeclaration
Swift
public extension UInt64
-
This extension will add a new set of capabilities to the native UInt data type.
See moreDeclaration
Swift
public extension UInt