{"action":"created","issue":{"url":"https://api.github.com/repos/samvermette/SVPullToRefresh/issues/19","labels_url":"https://api.github.com/repos/samvermette/SVPullToRefresh/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/samvermette/SVPullToRefresh/issues/19/comments","events_url":"https://api.github.com/repos/samvermette/SVPullToRefresh/issues/19/events","html_url":"https://github.com/samvermette/SVPullToRefresh/issues/19","id":4851523,"number":19,"title":"KVO Error on Table View dealloc","user":{"login":"pwightman","id":838674,"avatar_url":"https://avatars.githubusercontent.com/u/838674?v=3","gravatar_id":"","url":"https://api.github.com/users/pwightman","html_url":"https://github.com/pwightman","followers_url":"https://api.github.com/users/pwightman/followers","following_url":"https://api.github.com/users/pwightman/following{/other_user}","gists_url":"https://api.github.com/users/pwightman/gists{/gist_id}","starred_url":"https://api.github.com/users/pwightman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwightman/subscriptions","organizations_url":"https://api.github.com/users/pwightman/orgs","repos_url":"https://api.github.com/users/pwightman/repos","events_url":"https://api.github.com/users/pwightman/events{/privacy}","received_events_url":"https://api.github.com/users/pwightman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2012-06-01T06:09:50Z","updated_at":"2015-09-26T11:53:55Z","closed_at":"2012-06-01T15:27:22Z","body":"I'm getting the following error message when a table view I have attached pullToRefresh to is deallocated:\n\n```\nAn instance 0x882e800 of class UITableView was deallocated while key value observers were still registered with it. Observation info was leaked, and may even become mistakenly attached to some other object. Set a breakpoint on NSKVODeallocateBreak to stop here in the debugger. Here's the current observation info:\n<NSKeyValueObservationInfo 0x8156ef0> (\n<NSKeyValueObservance 0x8156e30: Observer: 0x8154b70, Key path: contentOffset, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x82419b0>\n<NSKeyValueObservance 0x8156eb0: Observer: 0x8154b70, Key path: frame, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x8247fc0>\n)\n```\n\nAm I doing something wrong? Is there a conventional way to break the KV observance I'm not aware of?\n\nThe only code I'm running related to pull-to-refresh is:\n\n```\n[self.tableView addPullToRefreshWithActionHandler:^{\n    [tempManager updateQueue];\n}];\n```\n\nand\n\n```\n[self.tableView.pullToRefreshView stopAnimating];\n```\n\nThanks."},"comment":{"url":"https://api.github.com/repos/samvermette/SVPullToRefresh/issues/comments/143426275","html_url":"https://github.com/samvermette/SVPullToRefresh/issues/19#issuecomment-143426275","issue_url":"https://api.github.com/repos/samvermette/SVPullToRefresh/issues/19","id":143426275,"user":{"login":"bhavinopenxcell","id":10720271,"avatar_url":"https://avatars.githubusercontent.com/u/10720271?v=3","gravatar_id":"","url":"https://api.github.com/users/bhavinopenxcell","html_url":"https://github.com/bhavinopenxcell","followers_url":"https://api.github.com/users/bhavinopenxcell/followers","following_url":"https://api.github.com/users/bhavinopenxcell/following{/other_user}","gists_url":"https://api.github.com/users/bhavinopenxcell/gists{/gist_id}","starred_url":"https://api.github.com/users/bhavinopenxcell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhavinopenxcell/subscriptions","organizations_url":"https://api.github.com/users/bhavinopenxcell/orgs","repos_url":"https://api.github.com/users/bhavinopenxcell/repos","events_url":"https://api.github.com/users/bhavinopenxcell/events{/privacy}","received_events_url":"https://api.github.com/users/bhavinopenxcell/received_events","type":"User","site_admin":false},"created_at":"2015-09-26T11:53:55Z","updated_at":"2015-09-26T11:53:55Z","body":"I have latest version of SVPullToRefresh and i successfully run it in iOS 8.4 but i need to make iOS 9 compatible app. For that i update my Xcode to 7.0 and iOS 9 SDK after update i facing this issue again. I don't know what i'm doing wrong. Please guide on this."}}