{"action":"opened","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/2048","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/2048/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/2048/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/2048/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/2048","id":98774574,"number":2048,"title":"19783115: NSApp should be declared as NSApplication* or at least marked as deprecated","user":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/classification:serious%20bug","name":"classification:serious bug","color":"e11d21"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/reproducible:always","name":"reproducible:always","color":"5319e7"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/status:open","name":"status:open","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/15","html_url":"https://github.com/lionheart/openradar-mirror/milestones/OS%20X%20SDK","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/15/labels","id":1237429,"number":15,"title":"OS X SDK","description":null,"creator":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"open_issues":40,"closed_issues":0,"state":"open","created_at":"2015-08-03T02:08:38Z","updated_at":"2015-08-03T15:56:22Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-08-03T15:56:22Z","updated_at":"2015-08-03T15:56:22Z","closed_at":null,"body":"#### Description\n\nSummary:\nNSApp is declared as type 'id'. This invites lots of hilarious bugs and avoids lots of clever warnings the compiler could make about these mistakes.\n\nExamples:\nAuto-completion in Xcode suggests the NSSavePanel method beginSheetModalForWindow:completionHandler: or NSWindow's similar method being suggested for NSApp, whereas the NSApplication method is called beginSheet:modalForWindow:modalDelegate:didEndSelector:\n\nThe wrong -delegate method is resolved, giving spurious and unnecessary errors about my app delegate not conforming to NSFileManagerDelegate.\n\nNotes:\nI hear this bug already exists in your system from someone else as rdar://problem/19782811\n\nAll of these issues and distractions could easily be fixed by just declaring it as an NSApplication*.\n\n-\nProduct Version: Mac OS X 10.10.2 (14C109)\nCreated: 2015-02-10T18:14:04.905127\nOriginated: 2015-02-10T19:13:00\nOpen Radar Link: http://www.openradar.me/19783115"}}