{"action":"created","issue":{"url":"https://api.github.com/repos/brimelow/Swift-Video-Tutorials/issues/1","labels_url":"https://api.github.com/repos/brimelow/Swift-Video-Tutorials/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/brimelow/Swift-Video-Tutorials/issues/1/comments","events_url":"https://api.github.com/repos/brimelow/Swift-Video-Tutorials/issues/1/events","html_url":"https://github.com/brimelow/Swift-Video-Tutorials/issues/1","id":47473527,"number":1,"title":"Swift 1.1 Failable Initializers - Menubar app","user":{"login":"davebokchoy","id":5943177,"avatar_url":"https://avatars.githubusercontent.com/u/5943177?v=3","gravatar_id":"","url":"https://api.github.com/users/davebokchoy","html_url":"https://github.com/davebokchoy","followers_url":"https://api.github.com/users/davebokchoy/followers","following_url":"https://api.github.com/users/davebokchoy/following{/other_user}","gists_url":"https://api.github.com/users/davebokchoy/gists{/gist_id}","starred_url":"https://api.github.com/users/davebokchoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davebokchoy/subscriptions","organizations_url":"https://api.github.com/users/davebokchoy/orgs","repos_url":"https://api.github.com/users/davebokchoy/repos","events_url":"https://api.github.com/users/davebokchoy/events{/privacy}","received_events_url":"https://api.github.com/users/davebokchoy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-01T02:22:05Z","updated_at":"2015-02-20T17:53:30Z","closed_at":null,"body":"Downloaded Menubar app but could not build under Xcode 6.1. Error was AppDelegate.swift:21:9: 'NSImage?' does not have a member named 'setTemplate'\r\n\r\nI changed line 21 from icon.setTemplate(true) to icon?.setTemplate(true) and had no issues.\r\n\r\nJust an fyi. I guess this is due to Swift 1.1 Failable Initializers. Thanks for the examples."},"comment":{"url":"https://api.github.com/repos/brimelow/Swift-Video-Tutorials/issues/comments/75286970","html_url":"https://github.com/brimelow/Swift-Video-Tutorials/issues/1#issuecomment-75286970","issue_url":"https://api.github.com/repos/brimelow/Swift-Video-Tutorials/issues/1","id":75286970,"user":{"login":"gabamnml","id":379450,"avatar_url":"https://avatars.githubusercontent.com/u/379450?v=3","gravatar_id":"","url":"https://api.github.com/users/gabamnml","html_url":"https://github.com/gabamnml","followers_url":"https://api.github.com/users/gabamnml/followers","following_url":"https://api.github.com/users/gabamnml/following{/other_user}","gists_url":"https://api.github.com/users/gabamnml/gists{/gist_id}","starred_url":"https://api.github.com/users/gabamnml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabamnml/subscriptions","organizations_url":"https://api.github.com/users/gabamnml/orgs","repos_url":"https://api.github.com/users/gabamnml/repos","events_url":"https://api.github.com/users/gabamnml/events{/privacy}","received_events_url":"https://api.github.com/users/gabamnml/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T17:53:30Z","updated_at":"2015-02-20T17:53:30Z","body":"Thanks i had the same issue but with this i fixed it."}}