Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ObjC Method naming



On Monday, May 28, 2001, at 10:59 , Finlay Dobbie wrote:

On Monday, May 28, 2001, at 09:26 pm, Nat! wrote:

But what really happens is that [myRect setWidth:10.0 height:15.0] translates into

objc_msgSend( myRect, @selector( setWidth:height:), 10.0, 15.0);

and you should never write code that calls objc_msgsend directly :-)

It should be pretty useful when you want to call objc-code from C++...
(as long as there is no ObjC++ -- did I miss something important by not going to WWDC?)

andy
--
Description forthcoming.


References: 
 >Re: ObjC Method naming (From: Finlay Dobbie <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.