• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: (RS)What's the type of a selector?[2]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (RS)What's the type of a selector?[2]


  • Subject: Re: (RS)What's the type of a selector?[2]
  • From: David Duncan <email@hidden>
  • Date: Mon, 30 Oct 2006 09:02:39 -0800

On Oct 29, 2006, at 5:34 AM, Alastair Houghton wrote:

Also, Bill's right that you should use the API to get the string value. I don't know (because I haven't checked) whether casting to char * still works on the 64-bit ObjC ABI in Leopard, for instance. It probably does, but using the API means you're guaranteed your code will work. Relying on implementation details doesn't; even documented ones sometimes change.

Don't rely on your knowledge of the 32-bit ObjC ABI to guide you in the 64-bit ABI. Implementation details are changing, and writing code that relies on these details will only cause you issues when you reach the point in time that you decide you want to move your application to 64-bit.
--
David Duncan
Apple DTS Quartz and Printing
email@hidden




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: (RS)What's the type of a selector?[2]
      • From: Alastair Houghton <email@hidden>
References: 
 >What's the type of a selector? (From: Roland Silver <email@hidden>)
 >Re: What's the type of a selector? (From: John Stiles <email@hidden>)
 >(RS)What's the type of a selector?[2] (From: Roland Silver <email@hidden>)
 >Re: (RS)What's the type of a selector?[2] (From: Bill Bumgarner <email@hidden>)
 >Re: (RS)What's the type of a selector?[2] (From: Alastair Houghton <email@hidden>)

  • Prev by Date: RE: swizzling a class to a subclass inorder to add ivars (& methods) to a class
  • Next by Date: Re: Scrolling Text Algorithm for a Screen Saver
  • Previous by thread: Re: (RS)What's the type of a selector?[2]
  • Next by thread: Re: (RS)What's the type of a selector?[2]
  • Index(es):
    • Date
    • Thread