FoundationConvertible
public protocol FoundationConvertible
Type that can be converted to and from Apple’s Foundation equivalent types.
-
Initializes the type from Apple’s Foundation equivalent type.
Declaration
Swift
init(foundation: FoundationType)
-
Converts the type to an equivalent type for use with Apple’s Foundation.
Declaration
Swift
func toFoundation() -> FoundationType