{"action":"closed","number":130,"pull_request":{"url":"https://api.github.com/repos/slackhq/SlackTextViewController/pulls/130","id":30365078,"html_url":"https://github.com/slackhq/SlackTextViewController/pull/130","diff_url":"https://github.com/slackhq/SlackTextViewController/pull/130.diff","patch_url":"https://github.com/slackhq/SlackTextViewController/pull/130.patch","issue_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/130","number":130,"state":"closed","locked":false,"title":"Extra customization hooks","user":{"login":"johannth","id":38626,"avatar_url":"https://avatars.githubusercontent.com/u/38626?v=3","gravatar_id":"","url":"https://api.github.com/users/johannth","html_url":"https://github.com/johannth","followers_url":"https://api.github.com/users/johannth/followers","following_url":"https://api.github.com/users/johannth/following{/other_user}","gists_url":"https://api.github.com/users/johannth/gists{/gist_id}","starred_url":"https://api.github.com/users/johannth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johannth/subscriptions","organizations_url":"https://api.github.com/users/johannth/orgs","repos_url":"https://api.github.com/users/johannth/repos","events_url":"https://api.github.com/users/johannth/events{/privacy}","received_events_url":"https://api.github.com/users/johannth/received_events","type":"User","site_admin":false},"body":"The pull requests implements additional customization hooks:\r\n+ Possible to swap out the SLKTextInputbar for a custom subclass.\r\n+ Possible to customize the char label colors.\r\n+ Possible to setup a different auto-layout system for SLKTextInputbar by replacing `- (void)slk_setupViewContraintsUsingMetrics:(NSDictionary *)metrics views:(NSDictionary *)views`\r\n+ Implemented a reversed countdown which starts by showing the max characters allowed and then counts down to zero.\r\n\r\nI also renamed slk_limitExceeded to limitExceeded as it is part of the public API and adding the slk_ prefix seemed to break the enabled state of the send button if you exceed the character limit.\r\nHope this is useful! ","created_at":"2015-03-03T11:20:18Z","updated_at":"2015-03-05T01:44:13Z","closed_at":"2015-03-05T01:44:13Z","merged_at":null,"merge_commit_sha":"b1bc51ed5e9e0537ffd95ae3776b4839f13c66e5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/slackhq/SlackTextViewController/pulls/130/commits","review_comments_url":"https://api.github.com/repos/slackhq/SlackTextViewController/pulls/130/comments","review_comment_url":"https://api.github.com/repos/slackhq/SlackTextViewController/pulls/comments{/number}","comments_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/130/comments","statuses_url":"https://api.github.com/repos/slackhq/SlackTextViewController/statuses/19ee1f8b72abbb5997554e0f2964c750f8d7d7f5","head":{"label":"plain-vanilla-games:additional-customization-hooks","ref":"additional-customization-hooks","sha":"19ee1f8b72abbb5997554e0f2964c750f8d7d7f5","user":{"login":"plain-vanilla-games","id":568997,"avatar_url":"https://avatars.githubusercontent.com/u/568997?v=3","gravatar_id":"","url":"https://api.github.com/users/plain-vanilla-games","html_url":"https://github.com/plain-vanilla-games","followers_url":"https://api.github.com/users/plain-vanilla-games/followers","following_url":"https://api.github.com/users/plain-vanilla-games/following{/other_user}","gists_url":"https://api.github.com/users/plain-vanilla-games/gists{/gist_id}","starred_url":"https://api.github.com/users/plain-vanilla-games/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plain-vanilla-games/subscriptions","organizations_url":"https://api.github.com/users/plain-vanilla-games/orgs","repos_url":"https://api.github.com/users/plain-vanilla-games/repos","events_url":"https://api.github.com/users/plain-vanilla-games/events{/privacy}","received_events_url":"https://api.github.com/users/plain-vanilla-games/received_events","type":"Organization","site_admin":false},"repo":{"id":27185691,"name":"SlackTextViewController","full_name":"plain-vanilla-games/SlackTextViewController","owner":{"login":"plain-vanilla-games","id":568997,"avatar_url":"https://avatars.githubusercontent.com/u/568997?v=3","gravatar_id":"","url":"https://api.github.com/users/plain-vanilla-games","html_url":"https://github.com/plain-vanilla-games","followers_url":"https://api.github.com/users/plain-vanilla-games/followers","following_url":"https://api.github.com/users/plain-vanilla-games/following{/other_user}","gists_url":"https://api.github.com/users/plain-vanilla-games/gists{/gist_id}","starred_url":"https://api.github.com/users/plain-vanilla-games/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plain-vanilla-games/subscriptions","organizations_url":"https://api.github.com/users/plain-vanilla-games/orgs","repos_url":"https://api.github.com/users/plain-vanilla-games/repos","events_url":"https://api.github.com/users/plain-vanilla-games/events{/privacy}","received_events_url":"https://api.github.com/users/plain-vanilla-games/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plain-vanilla-games/SlackTextViewController","description":"A drop-in UIViewController subclass with a growing text input view and other useful messaging features","fork":true,"url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController","forks_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/forks","keys_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/teams","hooks_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/hooks","issue_events_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/issues/events{/number}","events_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/events","assignees_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/assignees{/user}","branches_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/branches{/branch}","tags_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/tags","blobs_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/git/refs{/sha}","trees_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/statuses/{sha}","languages_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/languages","stargazers_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/stargazers","contributors_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/contributors","subscribers_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/subscribers","subscription_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/subscription","commits_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/commits{/sha}","git_commits_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/git/commits{/sha}","comments_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/comments{/number}","issue_comment_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/issues/comments{/number}","contents_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/contents/{+path}","compare_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/merges","archive_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/downloads","issues_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/issues{/number}","pulls_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/pulls{/number}","milestones_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/milestones{/number}","notifications_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/labels{/name}","releases_url":"https://api.github.com/repos/plain-vanilla-games/SlackTextViewController/releases{/id}","created_at":"2014-11-26T16:30:11Z","updated_at":"2015-03-03T09:43:16Z","pushed_at":"2015-03-03T11:05:57Z","git_url":"git://github.com/plain-vanilla-games/SlackTextViewController.git","ssh_url":"git@github.com:plain-vanilla-games/SlackTextViewController.git","clone_url":"https://github.com/plain-vanilla-games/SlackTextViewController.git","svn_url":"https://github.com/plain-vanilla-games/SlackTextViewController","homepage":"http://www.slack.com","size":6396,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"slackhq:master","ref":"master","sha":"b315b3f0885c6da9033c75ce4e9418b05cfe5944","user":{"login":"slackhq","id":6911160,"avatar_url":"https://avatars.githubusercontent.com/u/6911160?v=3","gravatar_id":"","url":"https://api.github.com/users/slackhq","html_url":"https://github.com/slackhq","followers_url":"https://api.github.com/users/slackhq/followers","following_url":"https://api.github.com/users/slackhq/following{/other_user}","gists_url":"https://api.github.com/users/slackhq/gists{/gist_id}","starred_url":"https://api.github.com/users/slackhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slackhq/subscriptions","organizations_url":"https://api.github.com/users/slackhq/orgs","repos_url":"https://api.github.com/users/slackhq/repos","events_url":"https://api.github.com/users/slackhq/events{/privacy}","received_events_url":"https://api.github.com/users/slackhq/received_events","type":"Organization","site_admin":false},"repo":{"id":23082332,"name":"SlackTextViewController","full_name":"slackhq/SlackTextViewController","owner":{"login":"slackhq","id":6911160,"avatar_url":"https://avatars.githubusercontent.com/u/6911160?v=3","gravatar_id":"","url":"https://api.github.com/users/slackhq","html_url":"https://github.com/slackhq","followers_url":"https://api.github.com/users/slackhq/followers","following_url":"https://api.github.com/users/slackhq/following{/other_user}","gists_url":"https://api.github.com/users/slackhq/gists{/gist_id}","starred_url":"https://api.github.com/users/slackhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slackhq/subscriptions","organizations_url":"https://api.github.com/users/slackhq/orgs","repos_url":"https://api.github.com/users/slackhq/repos","events_url":"https://api.github.com/users/slackhq/events{/privacy}","received_events_url":"https://api.github.com/users/slackhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/slackhq/SlackTextViewController","description":"A drop-in UIViewController subclass with a growing text input view and other useful messaging features","fork":false,"url":"https://api.github.com/repos/slackhq/SlackTextViewController","forks_url":"https://api.github.com/repos/slackhq/SlackTextViewController/forks","keys_url":"https://api.github.com/repos/slackhq/SlackTextViewController/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slackhq/SlackTextViewController/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slackhq/SlackTextViewController/teams","hooks_url":"https://api.github.com/repos/slackhq/SlackTextViewController/hooks","issue_events_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/events{/number}","events_url":"https://api.github.com/repos/slackhq/SlackTextViewController/events","assignees_url":"https://api.github.com/repos/slackhq/SlackTextViewController/assignees{/user}","branches_url":"https://api.github.com/repos/slackhq/SlackTextViewController/branches{/branch}","tags_url":"https://api.github.com/repos/slackhq/SlackTextViewController/tags","blobs_url":"https://api.github.com/repos/slackhq/SlackTextViewController/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slackhq/SlackTextViewController/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slackhq/SlackTextViewController/git/refs{/sha}","trees_url":"https://api.github.com/repos/slackhq/SlackTextViewController/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slackhq/SlackTextViewController/statuses/{sha}","languages_url":"https://api.github.com/repos/slackhq/SlackTextViewController/languages","stargazers_url":"https://api.github.com/repos/slackhq/SlackTextViewController/stargazers","contributors_url":"https://api.github.com/repos/slackhq/SlackTextViewController/contributors","subscribers_url":"https://api.github.com/repos/slackhq/SlackTextViewController/subscribers","subscription_url":"https://api.github.com/repos/slackhq/SlackTextViewController/subscription","commits_url":"https://api.github.com/repos/slackhq/SlackTextViewController/commits{/sha}","git_commits_url":"https://api.github.com/repos/slackhq/SlackTextViewController/git/commits{/sha}","comments_url":"https://api.github.com/repos/slackhq/SlackTextViewController/comments{/number}","issue_comment_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/comments{/number}","contents_url":"https://api.github.com/repos/slackhq/SlackTextViewController/contents/{+path}","compare_url":"https://api.github.com/repos/slackhq/SlackTextViewController/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slackhq/SlackTextViewController/merges","archive_url":"https://api.github.com/repos/slackhq/SlackTextViewController/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slackhq/SlackTextViewController/downloads","issues_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues{/number}","pulls_url":"https://api.github.com/repos/slackhq/SlackTextViewController/pulls{/number}","milestones_url":"https://api.github.com/repos/slackhq/SlackTextViewController/milestones{/number}","notifications_url":"https://api.github.com/repos/slackhq/SlackTextViewController/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slackhq/SlackTextViewController/labels{/name}","releases_url":"https://api.github.com/repos/slackhq/SlackTextViewController/releases{/id}","created_at":"2014-08-18T18:46:06Z","updated_at":"2015-03-05T01:43:53Z","pushed_at":"2015-03-05T01:43:53Z","git_url":"git://github.com/slackhq/SlackTextViewController.git","ssh_url":"git@github.com:slackhq/SlackTextViewController.git","clone_url":"https://github.com/slackhq/SlackTextViewController.git","svn_url":"https://github.com/slackhq/SlackTextViewController","homepage":"http://www.slack.com","size":10177,"stargazers_count":3085,"watchers_count":3085,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":208,"mirror_url":null,"open_issues_count":8,"forks":208,"open_issues":8,"watchers":3085,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/slackhq/SlackTextViewController/pulls/130"},"html":{"href":"https://github.com/slackhq/SlackTextViewController/pull/130"},"issue":{"href":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/130"},"comments":{"href":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/slackhq/SlackTextViewController/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/slackhq/SlackTextViewController/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/slackhq/SlackTextViewController/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/slackhq/SlackTextViewController/statuses/19ee1f8b72abbb5997554e0f2964c750f8d7d7f5"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":59,"deletions":14,"changed_files":4}}