Intercom.io Custom Attributes for Swift aren't working
问题 I'm trying to implement custom attributes for Intercom.io into my iOS app. I'm in XCode 7, Swift 2 and iOS 9. Here's my code: class func updateUser(user: User) { Intercom.updateUserWithAttributes([ "name": user.name, "email": user.email ]) let userAttributes = ([ "role": "customer", "phone": user.phone, "First Name": user.firstName, "Last Name": user.lastName, "Referral Code": user.referralCode, "Avatar Pic": user.avatarURL, "Profile Pic": user.profilePicURL ]) Intercom