开发者

What is the latest version of Objective-C?

开发者 https://www.devze.com 2023-03-14 10:05 出处:网络
Please can you tell me what is the last Objective-C version for now? a开发者_Go百科nd is there any official web-site for this language (like sunmicrosystems for JAVA) for which i can get information a

Please can you tell me what is the last Objective-C version for now? a开发者_Go百科nd is there any official web-site for this language (like sunmicrosystems for JAVA) for which i can get information about this language?


The "official" Objective-C homepage is The Objective-C Programming Language, as pointed out in the objective-c tag info page.


The latest version of objective C is 2.0. I can't find any single website for the language, but Wikipedia article contains significant information with external links. The Objective-C Programming Language is considered the homepage for this language. You may also be interested in language variants section at Wikipedia. Please note that, though Obj-C 2.0 has garbage collector and iOS use Obj-C 2.0, it does not have GC.


Objective-C 2.0 was released in 2006, and, as of 2016, there is no 3.0. But that doesn't mean it hasn't changed.

You can find a list of the big Objective-C features supported by Xcode here. Sometimes detailed changes can be found in the Xcode release notes here. Other changes, like myobject->isa being replaced by object_getClass(myobject), are not advertised very well and you wind up discovering them through compiler warnings.

Five-year-old question, sure, but the answer constantly changes...


According to Apple's open-source web site, the version of Objective C 2.0 shipped with the latest version of OS X whose open-source components are available there (OS X 10.9.4 'Mavericks' as of this writing) is Objective-C 4, revision 551.1. (Feel free to leave a comment below if you can explain the discrepancy in Objective-C's version numbering between the documentation and the actual source code, would you?)


It's Objc4 now ! Objc source code here:

https://opensource.apple.com/tarballs/objc4/

0

精彩评论

暂无评论...
验证码 换一张
取 消