Basic Q: reading properties from nil
Basic Q: reading properties from nil
- Subject: Basic Q: reading properties from nil
- From: Rick Mann <email@hidden>
- Date: Tue, 26 Oct 2010 14:13:23 -0700
Hi. I've run into a bug, and I'm wondering if I'm expecting the wrong behavior. If I do this:
UIWindow* win = nil; // In reality, it's coming from somewhere else, but it's nil
CGRect frame = win.bounds;
Should I expect frame to be all zero? That's what I thought was the case, but I'm getting nonsense values that are not zero.
TIA,
Rick
_______________________________________________
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