extenntion to collection of integer swift code example

Example 1: collection type extension

@import InsertFramework;Copy

Example 2: collection type extension

let initParams = InsertInitParams()
initParams.visitorId = "John Smith"
initParams.visitorData = "["Age": "27", "Country": "USA", "Gender": "Male"]"
initParams.accountId = "Acme"
initParams.accountData = "["Tier": "1", "Timezone": "EST", "Size": "Enterprise"]"

InsertManager.shared().initSDK(
            "_insert_app_key",
            companyName:"_company_name",
            initParams: initParams) // call initSDK with initParams as a third parameter.Copy

Tags:

Misc Example