Talk:Objective-C

From Wikipedia, the free encyclopedia
Jump to: navigation, search
          This article is of interest to the following WikiProjects:
WikiProject Apple Inc. / iOS / Macintosh  (Rated C-class, High-importance)
WikiProject icon This article is within the scope of WikiProject Apple Inc., a collaborative effort to improve the coverage of Apple, Macintosh, iOS and related topics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
C-Class article C  This article has been rated as C-Class on the project's quality scale.
Checklist icon
 High  This article has been rated as High-importance on the project's importance scale.
Taskforce icon
This article is supported by iOS task force (marked as Top-importance).
Taskforce icon
This article is supported by Macintosh task force (marked as Top-importance).
 
WikiProject Computing (Rated C-class, Mid-importance)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
C-Class article C  This article has been rated as C-Class on the project's quality scale.
 Mid  This article has been rated as Mid-importance on the project's importance scale.
 
WikiProject Guild of Copy Editors
WikiProject icon A version of this article was copyedited by Torchiest, a member of the Guild of Copy Editors, on May 3, 2010. The Guild welcomes all editors with a good grasp of English and Wikipedia's policies and guidelines to help in the drive to improve articles. Visit our project page if you're interested in joining! If you have questions, please direct them to our talk page.
 

Lack of formal language specification[edit]

Did anyone note that objective c is lacking a formal language specification? Until 2008 apple did include something like a syntax specification in their objective c spec, but i has since been scrapped. Itsme (talk) 21:53, 1 April 2013 (UTC)

Example Usage of Categories Could Be More Clear[edit]

I understand a little Objective-C and I'm trying to master categories. The code examples could be clearer. As I try to read them now, they say "integer, integer, integer, integer". Can somebody that understand categories and Objective-C well, rewrite these code examples to help those of us who have programming experience, but are trying to learn categories understand them better? — Preceding unsigned comment added by Kaydell (talkcontribs) 01:15, 25 August 2013 (UTC)

I agree, the examples could be more clear. Thea10 (talk) 01:25, 25 August 2013 (UTC)

Mistake in C++ ivars for ObjC objects in ObjC++ section?[edit]

Hi, in the ObjC++ section, it says that "C++ classes (...) that have one or more virtual methods" can't be used as instance variables. Isn't this no longer true? This used to be a problem in the old days (e.g. MacOS X 10.2 and earlier, IIRC) when ObjC didn't call constructors on C++ instance variables, but since it does call default constructors, the vtable gets initialized correctly, so why *wouldn't* an object be permitted to have virtual member functions? Anyone have a reason why I shouldn't remove that mention or at least relativize it by "under older ObjC runtimes"? -- Uliwitness (talk) 00:48, 20 November 2013 (UTC)