{"action":"created","issue":{"url":"https://api.github.com/repos/Worldpay/worldpay-lib-ios/issues/3","labels_url":"https://api.github.com/repos/Worldpay/worldpay-lib-ios/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Worldpay/worldpay-lib-ios/issues/3/comments","events_url":"https://api.github.com/repos/Worldpay/worldpay-lib-ios/issues/3/events","html_url":"https://github.com/Worldpay/worldpay-lib-ios/issues/3","id":127609245,"number":3,"title":"Could not find setClientKey:YOUR_CLIENT_KEY in Swift ?","user":{"login":"alvinvarghese","id":5159405,"avatar_url":"https://avatars.githubusercontent.com/u/5159405?v=3","gravatar_id":"","url":"https://api.github.com/users/alvinvarghese","html_url":"https://github.com/alvinvarghese","followers_url":"https://api.github.com/users/alvinvarghese/followers","following_url":"https://api.github.com/users/alvinvarghese/following{/other_user}","gists_url":"https://api.github.com/users/alvinvarghese/gists{/gist_id}","starred_url":"https://api.github.com/users/alvinvarghese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvinvarghese/subscriptions","organizations_url":"https://api.github.com/users/alvinvarghese/orgs","repos_url":"https://api.github.com/users/alvinvarghese/repos","events_url":"https://api.github.com/users/alvinvarghese/events{/privacy}","received_events_url":"https://api.github.com/users/alvinvarghese/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-20T05:44:54Z","updated_at":"2016-01-23T10:26:13Z","closed_at":null,"body":"I am trying to integrate World Pay iOS SDK with Swift 2.0 and iOS 9.2. As per the documentation there should be a function called \"setClientKey\". Unfortunately i could not find any functions like that.\r\n\r\n                [ [Worldpay sharedInstance] setClientKey:YOUR_CLIENT_KEY ];\r\n\r\nWhen i type this Xcode helps with auto-completion, but i could see only these.\r\n\r\n        Worldpay.sharedInstance().setClass(AnyClass?, forClassName: String)\r\n        Worldpay.sharedInstance().setClassName(String?, forClass: AnyClass)\r\n\r\n\r\nI found an another on using swift.  This returns an error like this \"Cannot assign to property: function call returns immutable value\"\r\n\r\n                Worldpay.sharedInstance().clientKey = \"\"\r\n\r\nBut inside World Pay iOS Library, i saw this.\r\n\r\n \"Property that sets the Client Key which is used for API calls made directly from your customer's browser\"\r\n@property (nonatomic, retain) NSString *clientKey;\r\n\r\nWhich means that i can set Client Key using this property. But i could not. \r\n\r\nIs there any workaround ? Let me know please."},"comment":{"url":"https://api.github.com/repos/Worldpay/worldpay-lib-ios/issues/comments/174168784","html_url":"https://github.com/Worldpay/worldpay-lib-ios/issues/3#issuecomment-174168784","issue_url":"https://api.github.com/repos/Worldpay/worldpay-lib-ios/issues/3","id":174168784,"user":{"login":"alvinvarghese","id":5159405,"avatar_url":"https://avatars.githubusercontent.com/u/5159405?v=3","gravatar_id":"","url":"https://api.github.com/users/alvinvarghese","html_url":"https://github.com/alvinvarghese","followers_url":"https://api.github.com/users/alvinvarghese/followers","following_url":"https://api.github.com/users/alvinvarghese/following{/other_user}","gists_url":"https://api.github.com/users/alvinvarghese/gists{/gist_id}","starred_url":"https://api.github.com/users/alvinvarghese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvinvarghese/subscriptions","organizations_url":"https://api.github.com/users/alvinvarghese/orgs","repos_url":"https://api.github.com/users/alvinvarghese/repos","events_url":"https://api.github.com/users/alvinvarghese/events{/privacy}","received_events_url":"https://api.github.com/users/alvinvarghese/received_events","type":"User","site_admin":false},"created_at":"2016-01-23T10:26:13Z","updated_at":"2016-01-23T10:26:13Z","body":"Ohh great. I didn't think about that."}}