{"action":"closed","number":352,"pull_request":{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/pulls/352","id":30515466,"html_url":"https://github.com/facebook/AsyncDisplayKit/pull/352","diff_url":"https://github.com/facebook/AsyncDisplayKit/pull/352.diff","patch_url":"https://github.com/facebook/AsyncDisplayKit/pull/352.patch","issue_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/352","number":352,"state":"closed","locked":false,"title":"Section UIEdgeInsets for ASCollectionView","user":{"login":"nivanchikov","id":1830010,"avatar_url":"https://avatars.githubusercontent.com/u/1830010?v=3","gravatar_id":"","url":"https://api.github.com/users/nivanchikov","html_url":"https://github.com/nivanchikov","followers_url":"https://api.github.com/users/nivanchikov/followers","following_url":"https://api.github.com/users/nivanchikov/following{/other_user}","gists_url":"https://api.github.com/users/nivanchikov/gists{/gist_id}","starred_url":"https://api.github.com/users/nivanchikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nivanchikov/subscriptions","organizations_url":"https://api.github.com/users/nivanchikov/orgs","repos_url":"https://api.github.com/users/nivanchikov/repos","events_url":"https://api.github.com/users/nivanchikov/events{/privacy}","received_events_url":"https://api.github.com/users/nivanchikov/received_events","type":"User","site_admin":false},"body":"`ASCollectionView` uses `self.bounds.size` when providing constrained size for its node cells.\r\n\r\nThis pull request adds support for section `UIEdgeInsets`, which can be returned in corresponding `UICollectionViewDelegateFlowLayout` method:\r\n\r\n```objc\r\n- (UIEdgeInsets) collectionView: (UICollectionView*) collectionView\r\n\t\t\t\t\t\t layout: (UICollectionViewLayout*) collectionViewLayout\r\n\t\t insetForSectionAtIndex: (NSInteger) section\r\n{\r\n\treturn UIEdgeInsetsMake(30.0f, 15.0f, 30.0f, 15.0f);\r\n}\r\n```\r\n\r\nAs a result the one of the constrained size dimensions for cell nodes will be reduced by sum of:\r\n- `bottom + top` for height when layout is horizontal\r\n- `left + right` for width when layout is vertical","created_at":"2015-03-04T23:22:35Z","updated_at":"2015-08-04T19:06:54Z","closed_at":"2015-08-04T19:06:54Z","merged_at":null,"merge_commit_sha":"b96758853e6444e49d75c485f8c4928ae897f7c9","assignee":{"login":"appleguy","id":565251,"avatar_url":"https://avatars.githubusercontent.com/u/565251?v=3","gravatar_id":"","url":"https://api.github.com/users/appleguy","html_url":"https://github.com/appleguy","followers_url":"https://api.github.com/users/appleguy/followers","following_url":"https://api.github.com/users/appleguy/following{/other_user}","gists_url":"https://api.github.com/users/appleguy/gists{/gist_id}","starred_url":"https://api.github.com/users/appleguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appleguy/subscriptions","organizations_url":"https://api.github.com/users/appleguy/orgs","repos_url":"https://api.github.com/users/appleguy/repos","events_url":"https://api.github.com/users/appleguy/events{/privacy}","received_events_url":"https://api.github.com/users/appleguy/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/milestones/5","html_url":"https://github.com/facebook/AsyncDisplayKit/milestones/1.3","labels_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/milestones/5/labels","id":1163974,"number":5,"title":"1.3","description":null,"creator":{"login":"appleguy","id":565251,"avatar_url":"https://avatars.githubusercontent.com/u/565251?v=3","gravatar_id":"","url":"https://api.github.com/users/appleguy","html_url":"https://github.com/appleguy","followers_url":"https://api.github.com/users/appleguy/followers","following_url":"https://api.github.com/users/appleguy/following{/other_user}","gists_url":"https://api.github.com/users/appleguy/gists{/gist_id}","starred_url":"https://api.github.com/users/appleguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appleguy/subscriptions","organizations_url":"https://api.github.com/users/appleguy/orgs","repos_url":"https://api.github.com/users/appleguy/repos","events_url":"https://api.github.com/users/appleguy/events{/privacy}","received_events_url":"https://api.github.com/users/appleguy/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":1,"state":"open","created_at":"2015-06-14T20:49:24Z","updated_at":"2015-08-04T19:06:54Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/pulls/352/commits","review_comments_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/pulls/352/comments","review_comment_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/352/comments","statuses_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/statuses/20dbacc2a81e5c1a90bda2012ef1a5b0a8d65253","head":{"label":"nivanchikov:ASCollectionViewSectionInsets","ref":"ASCollectionViewSectionInsets","sha":"20dbacc2a81e5c1a90bda2012ef1a5b0a8d65253","user":{"login":"nivanchikov","id":1830010,"avatar_url":"https://avatars.githubusercontent.com/u/1830010?v=3","gravatar_id":"","url":"https://api.github.com/users/nivanchikov","html_url":"https://github.com/nivanchikov","followers_url":"https://api.github.com/users/nivanchikov/followers","following_url":"https://api.github.com/users/nivanchikov/following{/other_user}","gists_url":"https://api.github.com/users/nivanchikov/gists{/gist_id}","starred_url":"https://api.github.com/users/nivanchikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nivanchikov/subscriptions","organizations_url":"https://api.github.com/users/nivanchikov/orgs","repos_url":"https://api.github.com/users/nivanchikov/repos","events_url":"https://api.github.com/users/nivanchikov/events{/privacy}","received_events_url":"https://api.github.com/users/nivanchikov/received_events","type":"User","site_admin":false},"repo":{"id":31681126,"name":"AsyncDisplayKit","full_name":"nivanchikov/AsyncDisplayKit","owner":{"login":"nivanchikov","id":1830010,"avatar_url":"https://avatars.githubusercontent.com/u/1830010?v=3","gravatar_id":"","url":"https://api.github.com/users/nivanchikov","html_url":"https://github.com/nivanchikov","followers_url":"https://api.github.com/users/nivanchikov/followers","following_url":"https://api.github.com/users/nivanchikov/following{/other_user}","gists_url":"https://api.github.com/users/nivanchikov/gists{/gist_id}","starred_url":"https://api.github.com/users/nivanchikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nivanchikov/subscriptions","organizations_url":"https://api.github.com/users/nivanchikov/orgs","repos_url":"https://api.github.com/users/nivanchikov/repos","events_url":"https://api.github.com/users/nivanchikov/events{/privacy}","received_events_url":"https://api.github.com/users/nivanchikov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nivanchikov/AsyncDisplayKit","description":"Smooth asynchronous user interfaces for iOS apps.","fork":true,"url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit","forks_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/forks","keys_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/teams","hooks_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/hooks","issue_events_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/issues/events{/number}","events_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/events","assignees_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/assignees{/user}","branches_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/branches{/branch}","tags_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/tags","blobs_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/statuses/{sha}","languages_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/languages","stargazers_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/stargazers","contributors_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/contributors","subscribers_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/subscribers","subscription_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/subscription","commits_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/contents/{+path}","compare_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/merges","archive_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/downloads","issues_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/issues{/number}","pulls_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/pulls{/number}","milestones_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/milestones{/number}","notifications_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/labels{/name}","releases_url":"https://api.github.com/repos/nivanchikov/AsyncDisplayKit/releases{/id}","created_at":"2015-03-04T21:36:04Z","updated_at":"2015-04-16T16:28:40Z","pushed_at":"2015-07-22T22:03:37Z","git_url":"git://github.com/nivanchikov/AsyncDisplayKit.git","ssh_url":"git@github.com:nivanchikov/AsyncDisplayKit.git","clone_url":"https://github.com/nivanchikov/AsyncDisplayKit.git","svn_url":"https://github.com/nivanchikov/AsyncDisplayKit","homepage":"http://asyncdisplaykit.org","size":2346,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"10adca52d03d39f6eabc76de49440430beabeac8","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":21265042,"name":"AsyncDisplayKit","full_name":"facebook/AsyncDisplayKit","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/AsyncDisplayKit","description":"Smooth asynchronous user interfaces for iOS apps.","fork":false,"url":"https://api.github.com/repos/facebook/AsyncDisplayKit","forks_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/forks","keys_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/teams","hooks_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/hooks","issue_events_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/events","assignees_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/tags","blobs_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/languages","stargazers_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/stargazers","contributors_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/contributors","subscribers_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/subscribers","subscription_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/subscription","commits_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/merges","archive_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/downloads","issues_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/labels{/name}","releases_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/releases{/id}","created_at":"2014-06-27T05:29:02Z","updated_at":"2015-08-04T16:58:46Z","pushed_at":"2015-08-04T19:06:05Z","git_url":"git://github.com/facebook/AsyncDisplayKit.git","ssh_url":"git@github.com:facebook/AsyncDisplayKit.git","clone_url":"https://github.com/facebook/AsyncDisplayKit.git","svn_url":"https://github.com/facebook/AsyncDisplayKit","homepage":"http://asyncdisplaykit.org","size":5271,"stargazers_count":5405,"watchers_count":5405,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":679,"mirror_url":null,"open_issues_count":90,"forks":679,"open_issues":90,"watchers":5405,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/AsyncDisplayKit/pulls/352"},"html":{"href":"https://github.com/facebook/AsyncDisplayKit/pull/352"},"issue":{"href":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/352"},"comments":{"href":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/352/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/AsyncDisplayKit/pulls/352/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/AsyncDisplayKit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/AsyncDisplayKit/pulls/352/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/AsyncDisplayKit/statuses/20dbacc2a81e5c1a90bda2012ef1a5b0a8d65253"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":8,"review_comments":0,"commits":2,"additions":9,"deletions":0,"changed_files":2}}