Xcode-beta (6D532l): NSDate.distantFuture() returns AnyObject, docs say NSDate

Originator:andrew
Number:rdar://19967226 Date Originated:26-Feb-2015 08:39 AM
Status:Closed Resolved:Duplicate of 17896273
Product:Developer Tools Product Version:Xcode-beta (6D532l)
Classification:Other Bug Reproducible:Always
 
Summary:

NSDate.distantFuture() is defined as returning AnyObject when the documentation says it returns an NSDate, requiring an ugly forced cast.

Update: closed as duplicate of 17896273

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!