Xcode (6A280n): [Cocoa] [NSDocumentController] The NSDocumentController class method 'sharedDocumentController' should return an object of type NSDocumentController

Originator:janoschhildebrand
Number:rdar://18278870 Date Originated:09-Sep-2014
Status:Duplicate of 19867794 (Closed) Resolved:
Product:OSX SDK Product Version:Xcode (6A280n)
Classification:Feature Request Reproducible:NA
 
Summary:
The current definition is as follows:
+ (id)sharedDocumentController

This could be improved to clearly state that a (sub)class of NSDocumentController is returned:
+ (NSDocumentController *)sharedDocumentController

Steps to Reproduce:


Expected Results:


Actual Results:


Version:
Xcode Version 6.0 (6A280n)
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!