{"action":"created","issue":{"url":"https://api.github.com/repos/xmartlabs/XLForm/issues/42","labels_url":"https://api.github.com/repos/xmartlabs/XLForm/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/xmartlabs/XLForm/issues/42/comments","events_url":"https://api.github.com/repos/xmartlabs/XLForm/issues/42/events","html_url":"https://github.com/xmartlabs/XLForm/pull/42","id":34662339,"number":42,"title":"Yield the newly instantiated controller back to the caller, if so desired","user":{"login":"wzph","id":4113,"avatar_url":"https://avatars.githubusercontent.com/u/4113?v=3","gravatar_id":"","url":"https://api.github.com/users/wzph","html_url":"https://github.com/wzph","followers_url":"https://api.github.com/users/wzph/followers","following_url":"https://api.github.com/users/wzph/following{/other_user}","gists_url":"https://api.github.com/users/wzph/gists{/gist_id}","starred_url":"https://api.github.com/users/wzph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wzph/subscriptions","organizations_url":"https://api.github.com/users/wzph/orgs","repos_url":"https://api.github.com/users/wzph/repos","events_url":"https://api.github.com/users/wzph/events{/privacy}","received_events_url":"https://api.github.com/users/wzph/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-05-30T16:53:36Z","updated_at":"2015-07-21T02:39:12Z","closed_at":"2015-07-21T02:39:12Z","pull_request":{"url":"https://api.github.com/repos/xmartlabs/XLForm/pulls/42","html_url":"https://github.com/xmartlabs/XLForm/pull/42","diff_url":"https://github.com/xmartlabs/XLForm/pull/42.diff","patch_url":"https://github.com/xmartlabs/XLForm/pull/42.patch"},"body":"This allows XLFormViewController subclasses to override `-(void)didSelectFormRow:(XLFormRowDescriptor *)formRow` and get access to the new controller object.  Like this:\r\n\r\n```objc\r\n-(void)didSelectFormRow:(XLFormRowDescriptor *)formRow {\r\n    UITableViewCell<XLFormDescriptorCell> *cell = [formRow cellForFormController:self];\r\n    if ( [cell isKindOfClass:[XLFormButtonCell class]] ){\r\n        [(XLFormButtonCell *)cell\r\n            formDescriptorCellDidSelectedWithFormController:self\r\n            yieldingNewController:^(XLFormViewController *newController) {\r\n               // do something interesting with newController  \r\n            }\r\n         ];\r\n    }\r\n    else {\r\n        [super didSelectFormRow:formRow];\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/xmartlabs/XLForm/issues/comments/123132531","html_url":"https://github.com/xmartlabs/XLForm/pull/42#issuecomment-123132531","issue_url":"https://api.github.com/repos/xmartlabs/XLForm/issues/42","id":123132531,"user":{"login":"mtnbarreto","id":1746532,"avatar_url":"https://avatars.githubusercontent.com/u/1746532?v=3","gravatar_id":"","url":"https://api.github.com/users/mtnbarreto","html_url":"https://github.com/mtnbarreto","followers_url":"https://api.github.com/users/mtnbarreto/followers","following_url":"https://api.github.com/users/mtnbarreto/following{/other_user}","gists_url":"https://api.github.com/users/mtnbarreto/gists{/gist_id}","starred_url":"https://api.github.com/users/mtnbarreto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtnbarreto/subscriptions","organizations_url":"https://api.github.com/users/mtnbarreto/orgs","repos_url":"https://api.github.com/users/mtnbarreto/repos","events_url":"https://api.github.com/users/mtnbarreto/events{/privacy}","received_events_url":"https://api.github.com/users/mtnbarreto/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T02:39:11Z","updated_at":"2015-07-21T02:39:11Z","body":"@wzph Thanks for the contribution. \r\nNew XLForm version allows you to set up a block, a segueId, etc. Take a look at `XLFormAction` class.\r\nRegards\r\n\r\n"}}