{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1588","repository_url":"https://api.github.com/repos/facebook/AsyncDisplayKit","labels_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1588/labels{/name}","comments_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1588/comments","events_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1588/events","html_url":"https://github.com/facebook/AsyncDisplayKit/issues/1588","id":150803425,"number":1588,"title":"[Question] about the website documentation on using ASCollectionNode inside ASViewController","user":{"login":"nickvelloff","id":885369,"avatar_url":"https://avatars.githubusercontent.com/u/885369?v=3","gravatar_id":"","url":"https://api.github.com/users/nickvelloff","html_url":"https://github.com/nickvelloff","followers_url":"https://api.github.com/users/nickvelloff/followers","following_url":"https://api.github.com/users/nickvelloff/following{/other_user}","gists_url":"https://api.github.com/users/nickvelloff/gists{/gist_id}","starred_url":"https://api.github.com/users/nickvelloff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickvelloff/subscriptions","organizations_url":"https://api.github.com/users/nickvelloff/orgs","repos_url":"https://api.github.com/users/nickvelloff/repos","events_url":"https://api.github.com/users/nickvelloff/events{/privacy}","received_events_url":"https://api.github.com/users/nickvelloff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/labels/ASCollectionNode","name":"ASCollectionNode","color":"d4c5f9"},{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/labels/ASViewController","name":"ASViewController","color":"d4c5f9"},{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/labels/discussion","name":"discussion","color":"cc317c"},{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/labels/documentation","name":"documentation","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-25T09:37:10Z","updated_at":"2016-04-25T16:31:37Z","closed_at":null,"body":"In http://asyncdisplaykit.org/docs/containers-ascollectionnode.html#replace-uicollectionviewcontroller-with-asviewcontroller\r\n\r\nThe following can't be correct (as I'm learning this system)t:\r\n<img width=\"686\" alt=\"screenshot 2016-04-25 02 34 58\" src=\"https://cloud.githubusercontent.com/assets/885369/14779730/6579d020-0a8e-11e6-8b36-a1dd60ee624c.png\">"},"comment":{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/comments/214430913","html_url":"https://github.com/facebook/AsyncDisplayKit/issues/1588#issuecomment-214430913","issue_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1588","id":214430913,"user":{"login":"maicki","id":25288,"avatar_url":"https://avatars.githubusercontent.com/u/25288?v=3","gravatar_id":"","url":"https://api.github.com/users/maicki","html_url":"https://github.com/maicki","followers_url":"https://api.github.com/users/maicki/followers","following_url":"https://api.github.com/users/maicki/following{/other_user}","gists_url":"https://api.github.com/users/maicki/gists{/gist_id}","starred_url":"https://api.github.com/users/maicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maicki/subscriptions","organizations_url":"https://api.github.com/users/maicki/orgs","repos_url":"https://api.github.com/users/maicki/repos","events_url":"https://api.github.com/users/maicki/events{/privacy}","received_events_url":"https://api.github.com/users/maicki/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T16:31:37Z","updated_at":"2016-04-25T16:31:37Z","body":"@appleguy It's should be this way:\r\n\r\n```swift\r\ninit(coordinates: CLLocationsCoordinate2D) {\r\n        let flowLayout     = UICollectionViewFlowLayout()\r\n        let collectionNode = ASCollectionNode(collectionViewLayout: flowLayout)\r\n        \r\n        super.init(node: collectionNode)\r\n        \r\n        flowLayout.minimumInteritemSpacing  = 1\r\n        flowLayout.minimumLineSpacing       = 1\r\n}\r\n```"}}