{"action":"closed","issue":{"url":"https://api.github.com/repos/nicklockwood/FXForms/issues/347","labels_url":"https://api.github.com/repos/nicklockwood/FXForms/issues/347/labels{/name}","comments_url":"https://api.github.com/repos/nicklockwood/FXForms/issues/347/comments","events_url":"https://api.github.com/repos/nicklockwood/FXForms/issues/347/events","html_url":"https://github.com/nicklockwood/FXForms/issues/347","id":69752882,"number":347,"title":"why hardcode something like FXFormController for FXFormViewController?","user":{"login":"plandem","id":1381366,"avatar_url":"https://avatars.githubusercontent.com/u/1381366?v=3","gravatar_id":"","url":"https://api.github.com/users/plandem","html_url":"https://github.com/plandem","followers_url":"https://api.github.com/users/plandem/followers","following_url":"https://api.github.com/users/plandem/following{/other_user}","gists_url":"https://api.github.com/users/plandem/gists{/gist_id}","starred_url":"https://api.github.com/users/plandem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plandem/subscriptions","organizations_url":"https://api.github.com/users/plandem/orgs","repos_url":"https://api.github.com/users/plandem/repos","events_url":"https://api.github.com/users/plandem/events{/privacy}","received_events_url":"https://api.github.com/users/plandem/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-21T06:01:49Z","updated_at":"2015-06-16T12:39:17Z","closed_at":"2015-06-16T12:39:17Z","body":"at the default implementation of FXFormViewController we have:\r\n```\r\n- (FXFormController *)formController\r\n{\r\n    if (!_formController)\r\n    {\r\n        _formController = [[FXFormController alloc] init];\r\n        _formController.delegate = self;\r\n    }\r\n    return _formController;\r\n}\r\n```\r\n\r\nI'm not sure, but it looks like hardcoded thing, because when i try to use early:\r\n```\r\n\t[self registerDefaultViewControllerClass:[MTFormViewController class]];\r\n```\r\n\r\nthis will not work - FXFormController will be returned instead of MTFormViewController. So looks like it's not possible to 'replace' default controller for 'options' field. Or am i missed something?\r\n"}}