{"action":"opened","number":730,"pull_request":{"url":"https://api.github.com/repos/hyperoslo/Spots/pulls/730","id":142577880,"html_url":"https://github.com/hyperoslo/Spots/pull/730","diff_url":"https://github.com/hyperoslo/Spots/pull/730.diff","patch_url":"https://github.com/hyperoslo/Spots/pull/730.patch","issue_url":"https://api.github.com/repos/hyperoslo/Spots/issues/730","number":730,"state":"open","locked":false,"title":"Improve tvOS implementation","user":{"login":"zenangst","id":57446,"avatar_url":"https://avatars1.githubusercontent.com/u/57446?v=4","gravatar_id":"","url":"https://api.github.com/users/zenangst","html_url":"https://github.com/zenangst","followers_url":"https://api.github.com/users/zenangst/followers","following_url":"https://api.github.com/users/zenangst/following{/other_user}","gists_url":"https://api.github.com/users/zenangst/gists{/gist_id}","starred_url":"https://api.github.com/users/zenangst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenangst/subscriptions","organizations_url":"https://api.github.com/users/zenangst/orgs","repos_url":"https://api.github.com/users/zenangst/repos","events_url":"https://api.github.com/users/zenangst/events{/privacy}","received_events_url":"https://api.github.com/users/zenangst/received_events","type":"User","site_admin":false},"body":"To make friends with the tvOS focus engine, we now have a `UITableView`\r\nsubclass called `ComponentTableVIew`. We need a subclass to set\r\n`canBecomeFocused` to `false`.\r\n\r\nBy default, both `UITableView` and `UICollectionView` now both have\r\n`remembersLastFocusedIndexPath` set to `true`.\r\n\r\n`focusedSpot` has been renamed to `focusedComponent`.\r\n\r\n`SpotsScrollView` will no longer modify the width of the subviews when\r\nscrolling, this open up for having views that don't occupy the full\r\nwidth when using them inside a `SpotsScrollView`. The `scrollView` will\r\nnow resize to the view `view.bounds` in `viewWillLayoutSubviews`.\r\n\r\nWhen all the components are setup, the property `focusedComponent` will\r\ndefault to the first component in `components` on `SpotsController`.\r\n\r\nRemoved some redundant code in `layoutSubviews` in `SpotsScrollView`.\r\n\r\n`layoutTableView` has been refactored to support `inset` from `Layout`.","created_at":"2017-09-22T13:21:38Z","updated_at":"2017-09-22T13:21:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/hyperoslo/Spots/pulls/730/commits","review_comments_url":"https://api.github.com/repos/hyperoslo/Spots/pulls/730/comments","review_comment_url":"https://api.github.com/repos/hyperoslo/Spots/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperoslo/Spots/issues/730/comments","statuses_url":"https://api.github.com/repos/hyperoslo/Spots/statuses/f6358879a5aa8d0a25eefc917f8c003a0a77dd8a","head":{"label":"zenangst:improve/tvos-implementation","ref":"improve/tvos-implementation","sha":"f6358879a5aa8d0a25eefc917f8c003a0a77dd8a","user":{"login":"zenangst","id":57446,"avatar_url":"https://avatars1.githubusercontent.com/u/57446?v=4","gravatar_id":"","url":"https://api.github.com/users/zenangst","html_url":"https://github.com/zenangst","followers_url":"https://api.github.com/users/zenangst/followers","following_url":"https://api.github.com/users/zenangst/following{/other_user}","gists_url":"https://api.github.com/users/zenangst/gists{/gist_id}","starred_url":"https://api.github.com/users/zenangst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenangst/subscriptions","organizations_url":"https://api.github.com/users/zenangst/orgs","repos_url":"https://api.github.com/users/zenangst/repos","events_url":"https://api.github.com/users/zenangst/events{/privacy}","received_events_url":"https://api.github.com/users/zenangst/received_events","type":"User","site_admin":false},"repo":{"id":81560557,"name":"Spots","full_name":"zenangst/Spots","owner":{"login":"zenangst","id":57446,"avatar_url":"https://avatars1.githubusercontent.com/u/57446?v=4","gravatar_id":"","url":"https://api.github.com/users/zenangst","html_url":"https://github.com/zenangst","followers_url":"https://api.github.com/users/zenangst/followers","following_url":"https://api.github.com/users/zenangst/following{/other_user}","gists_url":"https://api.github.com/users/zenangst/gists{/gist_id}","starred_url":"https://api.github.com/users/zenangst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenangst/subscriptions","organizations_url":"https://api.github.com/users/zenangst/orgs","repos_url":"https://api.github.com/users/zenangst/repos","events_url":"https://api.github.com/users/zenangst/events{/privacy}","received_events_url":"https://api.github.com/users/zenangst/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zenangst/Spots","description":":bamboo: Spots is a cross-platform view controller framework for building component-based UIs","fork":true,"url":"https://api.github.com/repos/zenangst/Spots","forks_url":"https://api.github.com/repos/zenangst/Spots/forks","keys_url":"https://api.github.com/repos/zenangst/Spots/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zenangst/Spots/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zenangst/Spots/teams","hooks_url":"https://api.github.com/repos/zenangst/Spots/hooks","issue_events_url":"https://api.github.com/repos/zenangst/Spots/issues/events{/number}","events_url":"https://api.github.com/repos/zenangst/Spots/events","assignees_url":"https://api.github.com/repos/zenangst/Spots/assignees{/user}","branches_url":"https://api.github.com/repos/zenangst/Spots/branches{/branch}","tags_url":"https://api.github.com/repos/zenangst/Spots/tags","blobs_url":"https://api.github.com/repos/zenangst/Spots/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zenangst/Spots/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zenangst/Spots/git/refs{/sha}","trees_url":"https://api.github.com/repos/zenangst/Spots/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zenangst/Spots/statuses/{sha}","languages_url":"https://api.github.com/repos/zenangst/Spots/languages","stargazers_url":"https://api.github.com/repos/zenangst/Spots/stargazers","contributors_url":"https://api.github.com/repos/zenangst/Spots/contributors","subscribers_url":"https://api.github.com/repos/zenangst/Spots/subscribers","subscription_url":"https://api.github.com/repos/zenangst/Spots/subscription","commits_url":"https://api.github.com/repos/zenangst/Spots/commits{/sha}","git_commits_url":"https://api.github.com/repos/zenangst/Spots/git/commits{/sha}","comments_url":"https://api.github.com/repos/zenangst/Spots/comments{/number}","issue_comment_url":"https://api.github.com/repos/zenangst/Spots/issues/comments{/number}","contents_url":"https://api.github.com/repos/zenangst/Spots/contents/{+path}","compare_url":"https://api.github.com/repos/zenangst/Spots/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zenangst/Spots/merges","archive_url":"https://api.github.com/repos/zenangst/Spots/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zenangst/Spots/downloads","issues_url":"https://api.github.com/repos/zenangst/Spots/issues{/number}","pulls_url":"https://api.github.com/repos/zenangst/Spots/pulls{/number}","milestones_url":"https://api.github.com/repos/zenangst/Spots/milestones{/number}","notifications_url":"https://api.github.com/repos/zenangst/Spots/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zenangst/Spots/labels{/name}","releases_url":"https://api.github.com/repos/zenangst/Spots/releases{/id}","deployments_url":"https://api.github.com/repos/zenangst/Spots/deployments","created_at":"2017-02-10T11:51:01Z","updated_at":"2017-05-19T03:56:27Z","pushed_at":"2017-09-22T13:21:23Z","git_url":"git://github.com/zenangst/Spots.git","ssh_url":"git@github.com:zenangst/Spots.git","clone_url":"https://github.com/zenangst/Spots.git","svn_url":"https://github.com/zenangst/Spots","homepage":"","size":35061,"stargazers_count":1,"watchers_count":1,"language":"Swift","has_issues":false,"has_projects":true,"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":1,"default_branch":"master"}},"base":{"label":"hyperoslo:master","ref":"master","sha":"aaf2710dd4cc2e4356792cd07b97a699ff177533","user":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars3.githubusercontent.com/u/1340892?v=4","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"repo":{"id":43603611,"name":"Spots","full_name":"hyperoslo/Spots","owner":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars3.githubusercontent.com/u/1340892?v=4","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperoslo/Spots","description":":bamboo: Spots is a cross-platform view controller framework for building component-based UIs","fork":false,"url":"https://api.github.com/repos/hyperoslo/Spots","forks_url":"https://api.github.com/repos/hyperoslo/Spots/forks","keys_url":"https://api.github.com/repos/hyperoslo/Spots/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperoslo/Spots/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperoslo/Spots/teams","hooks_url":"https://api.github.com/repos/hyperoslo/Spots/hooks","issue_events_url":"https://api.github.com/repos/hyperoslo/Spots/issues/events{/number}","events_url":"https://api.github.com/repos/hyperoslo/Spots/events","assignees_url":"https://api.github.com/repos/hyperoslo/Spots/assignees{/user}","branches_url":"https://api.github.com/repos/hyperoslo/Spots/branches{/branch}","tags_url":"https://api.github.com/repos/hyperoslo/Spots/tags","blobs_url":"https://api.github.com/repos/hyperoslo/Spots/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperoslo/Spots/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperoslo/Spots/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperoslo/Spots/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperoslo/Spots/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperoslo/Spots/languages","stargazers_url":"https://api.github.com/repos/hyperoslo/Spots/stargazers","contributors_url":"https://api.github.com/repos/hyperoslo/Spots/contributors","subscribers_url":"https://api.github.com/repos/hyperoslo/Spots/subscribers","subscription_url":"https://api.github.com/repos/hyperoslo/Spots/subscription","commits_url":"https://api.github.com/repos/hyperoslo/Spots/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperoslo/Spots/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperoslo/Spots/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperoslo/Spots/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperoslo/Spots/contents/{+path}","compare_url":"https://api.github.com/repos/hyperoslo/Spots/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperoslo/Spots/merges","archive_url":"https://api.github.com/repos/hyperoslo/Spots/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperoslo/Spots/downloads","issues_url":"https://api.github.com/repos/hyperoslo/Spots/issues{/number}","pulls_url":"https://api.github.com/repos/hyperoslo/Spots/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperoslo/Spots/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperoslo/Spots/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperoslo/Spots/labels{/name}","releases_url":"https://api.github.com/repos/hyperoslo/Spots/releases{/id}","deployments_url":"https://api.github.com/repos/hyperoslo/Spots/deployments","created_at":"2015-10-03T15:28:33Z","updated_at":"2017-09-22T09:12:18Z","pushed_at":"2017-09-19T10:08:21Z","git_url":"git://github.com/hyperoslo/Spots.git","ssh_url":"git@github.com:hyperoslo/Spots.git","clone_url":"https://github.com/hyperoslo/Spots.git","svn_url":"https://github.com/hyperoslo/Spots","homepage":"","size":34975,"stargazers_count":1148,"watchers_count":1148,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":55,"mirror_url":null,"open_issues_count":8,"forks":55,"open_issues":8,"watchers":1148,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperoslo/Spots/pulls/730"},"html":{"href":"https://github.com/hyperoslo/Spots/pull/730"},"issue":{"href":"https://api.github.com/repos/hyperoslo/Spots/issues/730"},"comments":{"href":"https://api.github.com/repos/hyperoslo/Spots/issues/730/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperoslo/Spots/pulls/730/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperoslo/Spots/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperoslo/Spots/pulls/730/commits"},"statuses":{"href":"https://api.github.com/repos/hyperoslo/Spots/statuses/f6358879a5aa8d0a25eefc917f8c003a0a77dd8a"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":50,"deletions":18,"changed_files":9}}
{"actor":{"display_login":"zenangst"}}