swift - salesforce chat only
var chatConfig: SCSChatConfiguration?let POD = "YOUR_POD_NAME"
let ORG_ID = "YOUR_ORG_ID"
let DEPLOYMENT_ID = "YOUR_DEPLOYMENT_ID"
let BUTTON_ID = "YOUR_BUTTON_ID"override func viewDidLoad() {
super.viewDidLoad()
chatConfig = SCSChatConfiguration(liveAgentPod: POD,
orgId: ORG_ID,
deploymentId: DEPLOYMENT_ID,
buttonId: BUTTON_ID)
}
Also in Swift:
- get current unix timestamp swift ios
- convert string to int swift
- how to set the center in view in swift
- check if nan swift
- #pragma mark in Swift
- how to screen record swift stackoverflow
- swift file size from url
- disable trailing swipe action swift
- swift how to call a function
- convert secondsfrom1970 to date swift
- swift access appdelegate from viewcontroller
- how to make box shadow swift
- xcode disable a button
- swift generate uuid
- remove and element from array firebase swift 5
- number of characters in a string swift
- create alert in swift
- oops with swift
- save file with % swift
- uilabel font size swift
- how to make a image flip swift
- swift how to animate constraint change
- create dictionary swift
- urlencode string swift