Extensions
The following extensions are available globally.
-
Declaration
Swift
public extension Array
extension Array: EmptyValueRepresentable
extension Array: Emptyable
extension Array: ScopeFunctions
public extension Array where Element: Equatable
-
Declaration
-
Declaration
Swift
public extension Bundle
-
Declaration
-
Declaration
-
Declaration
Swift
public extension Optional
public extension Optional where Wrapped: EmptyValueRepresentable
public extension Optional where Wrapped: Emptyable
-
Declaration
Swift
extension Dictionary: EmptyValueRepresentable
extension Dictionary: Emptyable
extension Dictionary: ScopeFunctions
-
Declaration
-
Declaration
Swift
extension String: EmptyValueRepresentable
extension String: Emptyable
extension String: ScopeFunctions
-
Declaration
Swift
public extension Error where Self: CustomNSError
public extension Error where Self: CustomNSError, Self: LocalizedError
-
Declaration
Swift
public extension FileManager
-
Declaration
Swift
public extension KeyPath where Root: NSObject
-
Declaration
Swift
public extension NSDecimalNumber
extension NSDecimalNumber: Comparable
-
Commonly used OSLog instances for use with
os_log
functions
See moreos_log(.debug, log: .analytics, "%@ %@", #function, String(describing: self))
Declaration
Swift
public extension OSLog
-
Declaration
Swift
extension Int: ScopeFunctions
-
Declaration
Swift
extension Float: ScopeFunctions
-
Declaration
Swift
extension Double: ScopeFunctions
-
Declaration
Swift
extension DateComponents: ScopeFunctions
-
Declaration
Swift
extension URL: ScopeFunctions
-
Declaration
Swift
extension NSObject: ScopeFunctions
-
Declaration
Swift
extension CGAffineTransform: ScopeFunctions
-
Declaration
Swift
extension CGFloat: ScopeFunctions
-
Declaration
Swift
extension CGPoint: ScopeFunctions
-
Declaration
Swift
extension CGSize: ScopeFunctions
-
Declaration
Swift
extension CGVector: ScopeFunctions