Re: [Obj-C] if (self) vs. if (self != nil)
Re: [Obj-C] if (self) vs. if (self != nil)
- Subject: Re: [Obj-C] if (self) vs. if (self != nil)
- From: "Gary L. Wade" <email@hidden>
- Date: Sat, 25 Feb 2012 09:47:34 -0800
On Feb 25, 2012, at 7:56 AM, Kyle Sluder <email@hidden> wrote:
> …converting a pointer to integer is not guaranteed to result in a representation that fits in any size of integer…
You can use uintptr_t for such purposes, which is supposed to be defined in stdint.h.
--
Gary L. Wade (Sent from my iPhone)
http://www.garywade.com/
_______________________________________________
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