String

extension String
  • Returns a copy of itself that conforms to NSObjectProtocol.

    Declaration

    Swift

    func toProtocol() -> NSObjectProtocol