OSX 10.10 SDK (Xcode 6A280n): [Cocoa] [NSApplication] The NSApp global variable should be of type NSApplication

Originator:janoschhildebrand
Number:rdar://18311944 Date Originated:12-Sep-2014
Status:Duplicate of 18278885 (Closed) Resolved:
Product:OSX SDK Product Version:OSX 10.10 SDK (Xcode 6A280n)
Classification:Feature Request Reproducible:Always
 
Summary:
The current definition is as follows:
id NSApp

This could be improved to clearly state that a (sub)class of NSApplication is returned:
NSApplication *NSApp

Steps to Reproduce:


Expected Results:


Actual Results:


Version:
Xcode Version 6.0 (6A280n)
OSX 10.10 SDK
OS X 10.9 (13E28)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!