Jump to content

Talk:Objective-C

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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)

[edit]

Hello fellow Wikipedians,

I have just added archive links to one external link on Objective-C. Please take a moment to review my edit. If necessary, add {{cbignore}} after the link to keep me from modifying it. Alternatively, you can add {{nobots|deny=InternetArchiveBot}} to keep me off the page altogether. I made the following changes:

When you have finished reviewing my changes, please set the checked parameter below to true to let others know.

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 5 June 2024).

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—cyberbot IITalk to my owner:Online 15:16, 26 February 2016 (UTC)[reply]

[edit]

Please add the logo for Objective-C to the infobox. Mast303 (talk) 01:35, 10 February 2023 (UTC)[reply]