{"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":1,"created_at":"2015-02-06T14:04:48Z","updated_at":"2015-02-06T15:23:51Z","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/73252801","html_url":"https://github.com/dogo/SCLAlertView/issues/62#issuecomment-73252801","issue_url":"https://api.github.com/repos/dogo/SCLAlertView/issues/62","id":73252801,"user":{"login":"dogo","id":1487375,"avatar_url":"https://avatars.githubusercontent.com/u/1487375?v=3","gravatar_id":"","url":"https://api.github.com/users/dogo","html_url":"https://github.com/dogo","followers_url":"https://api.github.com/users/dogo/followers","following_url":"https://api.github.com/users/dogo/following{/other_user}","gists_url":"https://api.github.com/users/dogo/gists{/gist_id}","starred_url":"https://api.github.com/users/dogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dogo/subscriptions","organizations_url":"https://api.github.com/users/dogo/orgs","repos_url":"https://api.github.com/users/dogo/repos","events_url":"https://api.github.com/users/dogo/events{/privacy}","received_events_url":"https://api.github.com/users/dogo/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T15:23:51Z","updated_at":"2015-02-06T15:23:51Z","body":"```addTextField``` its not enough? \r\n\r\nYou can customize laters using ```textField``` reference \r\n\r\n```\r\nSCLAlertView *alert = [[SCLAlertView alloc] init];\r\n\r\nUITextField *textField = [alert addTextField:@\"Enter your name\"];\r\n\r\n[alert addButton:@\"Show Name\" actionBlock:^(void) {\r\n    NSLog(@\"Text value: %@\", textField.text);\r\n}];\r\n\r\n[alert showEdit:self title:@\"Edit View\" subTitle:@\"This alert view shows a text box\" closeButtonTitle:@\"Done\" duration:0.0f];\r\n```"}}