Re: NSString Retain Count of 2147483647
Re: NSString Retain Count of 2147483647
- Subject: Re: NSString Retain Count of 2147483647
- From: Bill Bumgarner <email@hidden>
- Date: Wed, 24 Jun 2009 11:05:31 -0500
On Jun 24, 2009, at 11:03 AM, Jean-Daniel Dupas wrote: And it should not be an issue as you should not use it after release (the Static Analyzer will warn you if you do something like that).
I'm not sure the static analyzer will catch/warn about:
id someObject = [[MyObject alloc] init]; [someArray addObject:someObject]; [someObject release]; [someObject doSomething;
As it might assume that someArray took ownership. If it doesn't, it should. If someone has a moment to give it a test and it doesn't, please file a bug (due to a hard drive splosion, I don't currently have dev tools :).
b.bum |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden