{"action":"created","issue":{"url":"https://api.github.com/repos/Swinject/SwinjectStoryboard/issues/78","repository_url":"https://api.github.com/repos/Swinject/SwinjectStoryboard","labels_url":"https://api.github.com/repos/Swinject/SwinjectStoryboard/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/Swinject/SwinjectStoryboard/issues/78/comments","events_url":"https://api.github.com/repos/Swinject/SwinjectStoryboard/issues/78/events","html_url":"https://github.com/Swinject/SwinjectStoryboard/issues/78","id":285270281,"number":78,"title":"Explicit instantiation for macOS apps","user":{"login":"mpdifran","id":1365987,"avatar_url":"https://avatars0.githubusercontent.com/u/1365987?v=4","gravatar_id":"","url":"https://api.github.com/users/mpdifran","html_url":"https://github.com/mpdifran","followers_url":"https://api.github.com/users/mpdifran/followers","following_url":"https://api.github.com/users/mpdifran/following{/other_user}","gists_url":"https://api.github.com/users/mpdifran/gists{/gist_id}","starred_url":"https://api.github.com/users/mpdifran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpdifran/subscriptions","organizations_url":"https://api.github.com/users/mpdifran/orgs","repos_url":"https://api.github.com/users/mpdifran/repos","events_url":"https://api.github.com/users/mpdifran/events{/privacy}","received_events_url":"https://api.github.com/users/mpdifran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-31T18:10:23Z","updated_at":"2018-02-14T15:02:33Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The README mentions you can do something like this in iOS apps to explicitly load your root view controller from `SwinjectStoryboard`:\r\n\r\n    let window = UIWindow(frame: UIScreen.mainScreen().bounds)\r\n    window.makeKeyAndVisible()\r\n    self.window = window\r\n\r\n    let storyboard = SwinjectStoryboard.create(name: \"Main\", bundle: nil, container: container)\r\n    window.rootViewController = storyboard.instantiateInitialViewController()\r\n\r\nIs there an equivalent practice for macOS?"},"comment":{"url":"https://api.github.com/repos/Swinject/SwinjectStoryboard/issues/comments/365634049","html_url":"https://github.com/Swinject/SwinjectStoryboard/issues/78#issuecomment-365634049","issue_url":"https://api.github.com/repos/Swinject/SwinjectStoryboard/issues/78","id":365634049,"user":{"login":"jakubvano","id":2094466,"avatar_url":"https://avatars1.githubusercontent.com/u/2094466?v=4","gravatar_id":"","url":"https://api.github.com/users/jakubvano","html_url":"https://github.com/jakubvano","followers_url":"https://api.github.com/users/jakubvano/followers","following_url":"https://api.github.com/users/jakubvano/following{/other_user}","gists_url":"https://api.github.com/users/jakubvano/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubvano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubvano/subscriptions","organizations_url":"https://api.github.com/users/jakubvano/orgs","repos_url":"https://api.github.com/users/jakubvano/repos","events_url":"https://api.github.com/users/jakubvano/events{/privacy}","received_events_url":"https://api.github.com/users/jakubvano/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T15:02:33Z","updated_at":"2018-02-14T15:02:33Z","author_association":"OWNER","body":"I don't typically do a OSX development, so can't comment on recommended practices.\r\nIt would definitely be welcomed if someone well versed in OSX apps had some recommendations."}}
{"actor":{"display_login":"jakubvano"}}