Re: Objective-c Run-time headers
Re: Objective-c Run-time headers
- Subject: Re: Objective-c Run-time headers
- From: Ofri Wolfus <email@hidden>
- Date: Sat, 7 Jul 2007 00:38:34 +0300
Just for the record, the ability to treat a pointer to a "random"
memory as an object and vice versa makes some really cool stuff
possible. Toll free bridging works this way, the objc runtime itself
uses some static structs for special classes, and I won't be
surprised if NSCopyObject() also uses this fact and uses something
like memcpy() to do its magic (of course it's not that easy but
that's the idea).
- Ofri
- - - - - - - - - - - - - - - - - - -
http://www.dpompa.com
- - - - - - - - - - - - - - - - - - -
On 06/07/2007, at 18:06, Alastair Houghton wrote:
I'd be inclined to make Objective-C object types implicitly pointer
types, rather than always writing e.g. ^NSString as you would in
ObjC itself.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden