CustomObjects
public class CustomObjects: NSObject
Wrapper class to manage custom objects instances
-
Add a custom object
Declaration
Swift
public func add(_ customObject: String) -> CustomObjectParameters
customObjectcustomObject json string value
Return Value
the custom object instance
-
Add a custom object
Declaration
Swift
public func add(_ customObject: [String: Any]) -> CustomObjectParameters
customObjectcustomObject in key-value format
Return Value
the custom object instance
-
Remove a custom object
Declaration
Swift
public func remove(_ customObjectId: String)Parameters
customObjectIdthe custom object identifier
-
Remove all custom objects
Declaration
Swift
public func removeAll()
CustomObjects Class Reference