{"action":"created","issue":{"url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/83","labels_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/83/comments","events_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/83/events","html_url":"https://github.com/ResearchKit/ResearchKit/pull/83","id":70136080,"number":83,"title":"Track ORKTableContainerView's current first responder cell via delegate","user":{"login":"rsanchezsaez","id":444313,"avatar_url":"https://avatars.githubusercontent.com/u/444313?v=3","gravatar_id":"","url":"https://api.github.com/users/rsanchezsaez","html_url":"https://github.com/rsanchezsaez","followers_url":"https://api.github.com/users/rsanchezsaez/followers","following_url":"https://api.github.com/users/rsanchezsaez/following{/other_user}","gists_url":"https://api.github.com/users/rsanchezsaez/gists{/gist_id}","starred_url":"https://api.github.com/users/rsanchezsaez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsanchezsaez/subscriptions","organizations_url":"https://api.github.com/users/rsanchezsaez/orgs","repos_url":"https://api.github.com/users/rsanchezsaez/repos","events_url":"https://api.github.com/users/rsanchezsaez/events{/privacy}","received_events_url":"https://api.github.com/users/rsanchezsaez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-22T14:10:54Z","updated_at":"2015-04-22T17:36:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/83","html_url":"https://github.com/ResearchKit/ResearchKit/pull/83","diff_url":"https://github.com/ResearchKit/ResearchKit/pull/83.diff","patch_url":"https://github.com/ResearchKit/ResearchKit/pull/83.patch"},"body":"Stab at fixing [issue #70](https://github.com/ResearchKit/ResearchKit/issues/70).\r\n\r\n---\r\n\r\nAdds `ORKTableContainerViewDelegate` protocol with a single\r\n\r\n    - (UITableViewCell *)currentFirstResponderCellForTableContainerView:(ORKTableContainerView *)tableContainerView\r\n\r\nmethod.\r\n\r\n`ORKFormStepViewController` implements it to provide the current first responder `ORKFormItemCell` to its child table container view.\r\n\r\n---\r\n\r\nOn the other hand, `ORKQuestionStepViewController` doesn't implement this method and leaves its child  table container view's `delegate` unset. I think finding the current first responder is not needed for full page table view cells.\r\n\r\n---\r\n\r\nAlso: remove no longer used 'ork_currentFirstResponderView' hack method."},"comment":{"url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/comments/95278861","html_url":"https://github.com/ResearchKit/ResearchKit/pull/83#issuecomment-95278861","issue_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/83","id":95278861,"user":{"login":"rsanchezsaez","id":444313,"avatar_url":"https://avatars.githubusercontent.com/u/444313?v=3","gravatar_id":"","url":"https://api.github.com/users/rsanchezsaez","html_url":"https://github.com/rsanchezsaez","followers_url":"https://api.github.com/users/rsanchezsaez/followers","following_url":"https://api.github.com/users/rsanchezsaez/following{/other_user}","gists_url":"https://api.github.com/users/rsanchezsaez/gists{/gist_id}","starred_url":"https://api.github.com/users/rsanchezsaez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsanchezsaez/subscriptions","organizations_url":"https://api.github.com/users/rsanchezsaez/orgs","repos_url":"https://api.github.com/users/rsanchezsaez/repos","events_url":"https://api.github.com/users/rsanchezsaez/events{/privacy}","received_events_url":"https://api.github.com/users/rsanchezsaez/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T17:36:10Z","updated_at":"2015-04-22T17:36:10Z","body":"I went ahead and implemented proper `_currentFirstResponderCell` clearing on *cell resign first responder*. It feels more future-proof this way. "}}