{"action":"created","issue":{"url":"https://api.github.com/repos/krzyzanowskim/Natalie/issues/32","labels_url":"https://api.github.com/repos/krzyzanowskim/Natalie/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/krzyzanowskim/Natalie/issues/32/comments","events_url":"https://api.github.com/repos/krzyzanowskim/Natalie/issues/32/events","html_url":"https://github.com/krzyzanowskim/Natalie/pull/32","id":80998819,"number":32,"title":"Added the ViewController Storyboard Identifiers to each storyboard","user":{"login":"CallumOz","id":5111814,"avatar_url":"https://avatars.githubusercontent.com/u/5111814?v=3","gravatar_id":"","url":"https://api.github.com/users/CallumOz","html_url":"https://github.com/CallumOz","followers_url":"https://api.github.com/users/CallumOz/followers","following_url":"https://api.github.com/users/CallumOz/following{/other_user}","gists_url":"https://api.github.com/users/CallumOz/gists{/gist_id}","starred_url":"https://api.github.com/users/CallumOz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CallumOz/subscriptions","organizations_url":"https://api.github.com/users/CallumOz/orgs","repos_url":"https://api.github.com/users/CallumOz/repos","events_url":"https://api.github.com/users/CallumOz/events{/privacy}","received_events_url":"https://api.github.com/users/CallumOz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-26T14:53:36Z","updated_at":"2015-05-27T12:56:50Z","closed_at":"2015-05-27T12:32:26Z","pull_request":{"url":"https://api.github.com/repos/krzyzanowskim/Natalie/pulls/32","html_url":"https://github.com/krzyzanowskim/Natalie/pull/32","diff_url":"https://github.com/krzyzanowskim/Natalie/pull/32.diff","patch_url":"https://github.com/krzyzanowskim/Natalie/pull/32.patch"},"body":"Hi,\r\n\r\nI modified quite a few things, the main reason was to be able to use the same ViewController class multiple times in different storyboards each with a different Storyboard ID.\r\nThis was impossible before because you would end up adding an extension twice to the same class.\r\n\r\nNow because the storyboards are structs, it means that I was able to specialise instantiateInitialViewController method so that the return type is the same as the type of the ViewController.\r\n\r\nTo instantiate a Viewcontroller with id \"ListVC\" in storyboard Main, you do:\r\n```swift\r\nlet vc = Storyboards.Main.ListVC()\r\n```\r\n\r\nIf you have any questions or remarks, my ears are open.\r\n\r\n![Open ears](http://media.giphy.com/media/2lzhUOZsRY86Y/giphy.gif)"},"comment":{"url":"https://api.github.com/repos/krzyzanowskim/Natalie/issues/comments/105896349","html_url":"https://github.com/krzyzanowskim/Natalie/pull/32#issuecomment-105896349","issue_url":"https://api.github.com/repos/krzyzanowskim/Natalie/issues/32","id":105896349,"user":{"login":"krzyzanowskim","id":758033,"avatar_url":"https://avatars.githubusercontent.com/u/758033?v=3","gravatar_id":"","url":"https://api.github.com/users/krzyzanowskim","html_url":"https://github.com/krzyzanowskim","followers_url":"https://api.github.com/users/krzyzanowskim/followers","following_url":"https://api.github.com/users/krzyzanowskim/following{/other_user}","gists_url":"https://api.github.com/users/krzyzanowskim/gists{/gist_id}","starred_url":"https://api.github.com/users/krzyzanowskim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzyzanowskim/subscriptions","organizations_url":"https://api.github.com/users/krzyzanowskim/orgs","repos_url":"https://api.github.com/users/krzyzanowskim/repos","events_url":"https://api.github.com/users/krzyzanowskim/events{/privacy}","received_events_url":"https://api.github.com/users/krzyzanowskim/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T12:56:50Z","updated_at":"2015-05-27T12:56:50Z","body":"@CallumOz there is a problem with Example project, can you please look at it and PR the fix asap?\r\n![screen shot 2015-05-27 at 14 56 13](https://cloud.githubusercontent.com/assets/758033/7836444/8d0e1138-0480-11e5-9387-7cf04df2af30.png)\r\n"}}