String
public extension String
-
Replaces all occurences of an array of strings with the provided replacement string.
Complexity
O(n) where n is the number of strings in the
characters
array.Declaration
Swift
func replacingOccurences(of characters: [String], with replacement: String) -> String
Parameters
characters
The group of characters values that are to be resolved.
replacement
The character that is to be used as the replacement for the given character set.
Return Value
A string value that contains all the occurences of a character set with another character.
-
The current app version for the running application.
Declaration
Swift
static var appVersion: String? { get }
-
The current build number for the running application.
Declaration
Swift
static var buildNumber: String? { get }
-
Parses this string into a dicrionary of values
Declaration
Swift
var dictionaryRepresentation: [String : Any]? { get }