{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/277","labels_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/277/comments","events_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/277/events","html_url":"https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/issues/277","id":106997873,"number":277,"title":"Issues with countObjects query with Xcode 7.0 and Parse 1.8.4","user":{"login":"plv2002","id":8485690,"avatar_url":"https://avatars.githubusercontent.com/u/8485690?v=3","gravatar_id":"","url":"https://api.github.com/users/plv2002","html_url":"https://github.com/plv2002","followers_url":"https://api.github.com/users/plv2002/followers","following_url":"https://api.github.com/users/plv2002/following{/other_user}","gists_url":"https://api.github.com/users/plv2002/gists{/gist_id}","starred_url":"https://api.github.com/users/plv2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plv2002/subscriptions","organizations_url":"https://api.github.com/users/plv2002/orgs","repos_url":"https://api.github.com/users/plv2002/repos","events_url":"https://api.github.com/users/plv2002/events{/privacy}","received_events_url":"https://api.github.com/users/plv2002/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-17T14:31:08Z","updated_at":"2015-09-17T18:29:00Z","closed_at":"2015-09-17T18:13:15Z","body":"I am trying to query data and when I try and use the nameOfMyQuery.countObjectsInBackgroundWithBlock I get the below error\r\n\r\n'(Int, NSError?) -> Void' is not convertible to 'PFIntegerResultBlock?'\r\n\r\nhere is the snippet of code where i get the error.\r\n\r\nlet lookForAccountsQuery = PFQuery(className: \"Accounts\")\r\nlookForAccountsQuery.whereKey(\"User\", equalTo: (PFUser.currentUser()!.username)!)\r\n        \r\n        lookForAccountsQuery.countObjectsInBackgroundWithBlock {\r\n            (count: Int, error: NSError?) -> Void in\r\n            if error == nil {\r\n                print(\"\\(PFUser.currentUser()?.username) has \\(count) accounts\")\r\n            }\r\n        }\r\n"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/comments/141177954","html_url":"https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/issues/277#issuecomment-141177954","issue_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/277","id":141177954,"user":{"login":"richardjrossiii","id":699752,"avatar_url":"https://avatars.githubusercontent.com/u/699752?v=3","gravatar_id":"","url":"https://api.github.com/users/richardjrossiii","html_url":"https://github.com/richardjrossiii","followers_url":"https://api.github.com/users/richardjrossiii/followers","following_url":"https://api.github.com/users/richardjrossiii/following{/other_user}","gists_url":"https://api.github.com/users/richardjrossiii/gists{/gist_id}","starred_url":"https://api.github.com/users/richardjrossiii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardjrossiii/subscriptions","organizations_url":"https://api.github.com/users/richardjrossiii/orgs","repos_url":"https://api.github.com/users/richardjrossiii/repos","events_url":"https://api.github.com/users/richardjrossiii/events{/privacy}","received_events_url":"https://api.github.com/users/richardjrossiii/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T18:29:00Z","updated_at":"2015-09-17T18:29:00Z","body":"Hmm, I'll go take a look at the docs and make sure they get updated. Thanks for reporting."}}