String

extension String
extension String: JSONSubscriptType

Properties for extending String object

  • Returns a percent encoded string

    Declaration

    Swift

    var percentEncodedString: String { get }
  • Returns a percent decoded sgtring

    Declaration

    Swift

    var percentDecodedString: String { get }
  • Undocumented

    Declaration

    Swift

    var sha256Value: String { get }
  • Undocumented

    Declaration

    Swift

    var encrypt: String? { get }
  • Undocumented

    Declaration

    Swift

    var decrypt: String { get }
  • Converts a String into a NSDictionary or NSArray

    Declaration

    Swift

    func toJSONObject() -> Any?

    Return Value

    NSDictionary or NSArray

  • Undocumented

    Declaration

    Swift

    func toBool() -> Bool
  • Undocumented

    Declaration

    Swift

    func toInt() -> Int
  • Removes white spaces inside of a string

    Declaration

    Swift

    func removeSpaces() -> String

    Return Value

    a string

  • Undocumented

    Declaration

    Swift

    subscript(range: CountableRange<Int>) -> String { get }
  • Undocumented

    Declaration

    Swift

    subscript(range: CountablePartialRangeFrom<Int>) -> String { get }

Subscript

  • Undocumented

    Declaration

    Swift

    public var jsonKey: JSONKey { get }