{"action":"created","issue":{"url":"https://api.github.com/repos/dogo/SCLAlertView/issues/62","labels_url":"https://api.github.com/repos/dogo/SCLAlertView/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/dogo/SCLAlertView/issues/62/comments","events_url":"https://api.github.com/repos/dogo/SCLAlertView/issues/62/events","html_url":"https://github.com/dogo/SCLAlertView/issues/62","id":56815188,"number":62,"title":"Add custom view","user":{"login":"guilhermearaujo","id":1733143,"avatar_url":"https://avatars.githubusercontent.com/u/1733143?v=3","gravatar_id":"","url":"https://api.github.com/users/guilhermearaujo","html_url":"https://github.com/guilhermearaujo","followers_url":"https://api.github.com/users/guilhermearaujo/followers","following_url":"https://api.github.com/users/guilhermearaujo/following{/other_user}","gists_url":"https://api.github.com/users/guilhermearaujo/gists{/gist_id}","starred_url":"https://api.github.com/users/guilhermearaujo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilhermearaujo/subscriptions","organizations_url":"https://api.github.com/users/guilhermearaujo/orgs","repos_url":"https://api.github.com/users/guilhermearaujo/repos","events_url":"https://api.github.com/users/guilhermearaujo/events{/privacy}","received_events_url":"https://api.github.com/users/guilhermearaujo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-06T14:04:48Z","updated_at":"2015-02-06T16:17:33Z","closed_at":null,"body":"I would like to be able to add a custom view to the alert, or at least a subclass of `UITextField`.\r\nPerhaps a method like `- (void)addTextField:(UITextField *)textField;`"},"comment":{"url":"https://api.github.com/repos/dogo/SCLAlertView/issues/comments/73262449","html_url":"https://github.com/dogo/SCLAlertView/issues/62#issuecomment-73262449","issue_url":"https://api.github.com/repos/dogo/SCLAlertView/issues/62","id":73262449,"user":{"login":"guilhermearaujo","id":1733143,"avatar_url":"https://avatars.githubusercontent.com/u/1733143?v=3","gravatar_id":"","url":"https://api.github.com/users/guilhermearaujo","html_url":"https://github.com/guilhermearaujo","followers_url":"https://api.github.com/users/guilhermearaujo/followers","following_url":"https://api.github.com/users/guilhermearaujo/following{/other_user}","gists_url":"https://api.github.com/users/guilhermearaujo/gists{/gist_id}","starred_url":"https://api.github.com/users/guilhermearaujo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilhermearaujo/subscriptions","organizations_url":"https://api.github.com/users/guilhermearaujo/orgs","repos_url":"https://api.github.com/users/guilhermearaujo/repos","events_url":"https://api.github.com/users/guilhermearaujo/events{/privacy}","received_events_url":"https://api.github.com/users/guilhermearaujo/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T16:17:33Z","updated_at":"2015-02-06T16:17:33Z","body":"I am using a `UITextField` subclass that implements some input validation, and the only way to use to use it inside the alert is if I could add a previously created view. Since the method `addTextField:` automatically instantiates a regular `UITextField`, I can't replace it with the custom class I'm using. However, if I could pass a `UITextField`, I could pass the custom object."}}