KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Why doesn't it return NSDate* ? It's supposed to be a creation function right? All creation function return the class whose type is the class creating it. Now, I can't do NSDate.date.timeIntervalSince1970 :( I thought the compiler is smart enough to know that NSDate.date return NSDate even though the return type is id?
Tags (comma-separated)
Save Edits
Cancel