KeyPath
public extension KeyPath where Root: NSObject
-
Returns the
Stringequivalent of the receiver.let keyPath = \Entity.relationship.property let str = keyPath.toString // do something with str which is "relationship.property"Declaration
Swift
var toString: String { get }
View on GitHub
Install in Dash
KeyPath Extension Reference