{"action":"created","issue":{"url":"https://api.github.com/repos/IBAnimatable/IBAnimatable/issues/418","repository_url":"https://api.github.com/repos/IBAnimatable/IBAnimatable","labels_url":"https://api.github.com/repos/IBAnimatable/IBAnimatable/issues/418/labels{/name}","comments_url":"https://api.github.com/repos/IBAnimatable/IBAnimatable/issues/418/comments","events_url":"https://api.github.com/repos/IBAnimatable/IBAnimatable/issues/418/events","html_url":"https://github.com/IBAnimatable/IBAnimatable/pull/418","id":217074081,"number":418,"title":"Add `AnimatableTableViewController` with designable `UIRefreshControl`","user":{"login":"phimage","id":8875768,"avatar_url":"https://avatars2.githubusercontent.com/u/8875768?v=3","gravatar_id":"","url":"https://api.github.com/users/phimage","html_url":"https://github.com/phimage","followers_url":"https://api.github.com/users/phimage/followers","following_url":"https://api.github.com/users/phimage/following{/other_user}","gists_url":"https://api.github.com/users/phimage/gists{/gist_id}","starred_url":"https://api.github.com/users/phimage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phimage/subscriptions","organizations_url":"https://api.github.com/users/phimage/orgs","repos_url":"https://api.github.com/users/phimage/repos","events_url":"https://api.github.com/users/phimage/events{/privacy}","received_events_url":"https://api.github.com/users/phimage/received_events","type":"User","site_admin":false},"labels":[{"id":288128033,"url":"https://api.github.com/repos/IBAnimatable/IBAnimatable/labels/type:%20enhancement","name":"type: enhancement","color":"84b6eb","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/IBAnimatable/IBAnimatable/milestones/3","html_url":"https://github.com/IBAnimatable/IBAnimatable/milestone/3","labels_url":"https://api.github.com/repos/IBAnimatable/IBAnimatable/milestones/3/labels","id":1580979,"number":3,"title":"4.0","description":"Major version theme: more Animatable elements (may include Material Design)","creator":{"login":"JakeLin","id":573856,"avatar_url":"https://avatars2.githubusercontent.com/u/573856?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeLin","html_url":"https://github.com/JakeLin","followers_url":"https://api.github.com/users/JakeLin/followers","following_url":"https://api.github.com/users/JakeLin/following{/other_user}","gists_url":"https://api.github.com/users/JakeLin/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeLin/subscriptions","organizations_url":"https://api.github.com/users/JakeLin/orgs","repos_url":"https://api.github.com/users/JakeLin/repos","events_url":"https://api.github.com/users/JakeLin/events{/privacy}","received_events_url":"https://api.github.com/users/JakeLin/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":18,"state":"open","created_at":"2016-02-13T10:10:37Z","updated_at":"2017-03-31T06:36:26Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2017-03-26T18:16:43Z","updated_at":"2017-03-31T06:37:45Z","closed_at":"2017-03-31T06:36:26Z","pull_request":{"url":"https://api.github.com/repos/IBAnimatable/IBAnimatable/pulls/418","html_url":"https://github.com/IBAnimatable/IBAnimatable/pull/418","diff_url":"https://github.com/IBAnimatable/IBAnimatable/pull/418.diff","patch_url":"https://github.com/IBAnimatable/IBAnimatable/pull/418.patch"},"body":"and other features same as  `AnimatableViewController`\r\n\r\n`RefreshControlDesignable` allow to custom the internal `UIRefreshControl`\r\n\r\n`UIRefreshControl` must not be set in subview but using `refreshControl` attribute of `UITableViewController`\r\nI think apple must do some job to make it accessible through Interface Builder, but until that this feature allow to custom the basic attribute of `UIRefreshControl`\r\n\r\n---\r\n\r\nI can go further to allow text edition\r\nby adding something like that in protocol `RefreshControlDesignable`\r\n```swift\r\nvar refreshControlTitle: String? { get set }\r\nvar refreshControlTitleFont: UIFont? { get set }\r\nvar refreshControlTitleColor: UIFont? { get set }\r\n```\r\nand there in configure function do the job to create an attributed string \r\n```swift\r\n\r\nif let title = refreshControlTitle {\r\n  var attributes: [String : Any] = [:]\r\n  if let font = refreshControlTitleFont {\r\n    attributes[NSFontAttributeName] = font\r\n  }\r\n  if let color = refreshControlTitleColor {\r\n    attributes[NSForegroundColorAttributeName] = color\r\n  }\r\n  refreshControl?.attributedTitle = NSAttributedString(string: title, attributes: attributes)\r\n} else {\r\n  refreshControl?.attributedTitle = nil\r\n} \r\n```"},"comment":{"url":"https://api.github.com/repos/IBAnimatable/IBAnimatable/issues/comments/290629777","html_url":"https://github.com/IBAnimatable/IBAnimatable/pull/418#issuecomment-290629777","issue_url":"https://api.github.com/repos/IBAnimatable/IBAnimatable/issues/418","id":290629777,"user":{"login":"phimage","id":8875768,"avatar_url":"https://avatars2.githubusercontent.com/u/8875768?v=3","gravatar_id":"","url":"https://api.github.com/users/phimage","html_url":"https://github.com/phimage","followers_url":"https://api.github.com/users/phimage/followers","following_url":"https://api.github.com/users/phimage/following{/other_user}","gists_url":"https://api.github.com/users/phimage/gists{/gist_id}","starred_url":"https://api.github.com/users/phimage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phimage/subscriptions","organizations_url":"https://api.github.com/users/phimage/orgs","repos_url":"https://api.github.com/users/phimage/repos","events_url":"https://api.github.com/users/phimage/events{/privacy}","received_events_url":"https://api.github.com/users/phimage/received_events","type":"User","site_admin":false},"created_at":"2017-03-31T06:37:45Z","updated_at":"2017-03-31T06:37:45Z","body":"sorry some too much weird merge conflict I will start another one..."}}
{"actor":{"display_login":"phimage"}}