init(_:)
Create a file path component from a string.
Declaration
init?(_ string: String)Discussion
Returns nil if string is empty, a root, or has more than one component in it.
Create a file path component from a string.
init?(_ string: String)Returns nil if string is empty, a root, or has more than one component in it.