Re: NSDictionary mutability test
Re: NSDictionary mutability test
- Subject: Re: NSDictionary mutability test
- From: Gregory Weston <email@hidden>
- Date: Mon, 08 Dec 2008 15:34:50 -0500
jonathan wrote:
I am aware of why the assertion is never applied but the thread I
referenced was several years old and I was hoping that there had been
some progress on this.
Maybe not.
I was using this assertion (written some time ago in ignorance) and
wasted an afternoon tracking down the fact that it didn't work.
Maybe the only solution is to set up an exception handler.
Untrue. Another solution - and I'd suggest a superior one even if it
takes more work up front - is to identify and correct the design flaw
that ends up giving you collections of unknown mutability.
_______________________________________________
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