Re: Why can't I name a property `tag'?
Re: Why can't I name a property `tag'?
- Subject: Re: Why can't I name a property `tag'?
- From: Graham Cox <email@hidden>
- Date: Fri, 11 Jul 2008 02:03:37 +1000
Probably because at the machine code level, it's just a value placed
into a register. You get away with it because an object address is 32
bits wide and so is an integer, and both types are passed in the same
register.
G.
On 11 Jul 2008, at 1:55 am, an0 wrote:
But if different return types cause different native code, how could
my program still work with the mistaken type(an NSString * returned
from the inner message is treated as an NSInteger at the first place,
then is passed as an NSString * to the outer message) guessed by
compiler?
_______________________________________________
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