Re: MutableDictionary setValue:forKeyPath - strange behavior
Re: MutableDictionary setValue:forKeyPath - strange behavior
- Subject: Re: MutableDictionary setValue:forKeyPath - strange behavior
- From: Kyle Sluder <email@hidden>
- Date: Sun, 20 Sep 2009 15:01:31 -0700
On Sun, Sep 20, 2009 at 12:42 PM, Steve Cronin <email@hidden> wrote:
> essentially it is:
"Essentially" isn't good enough; actual copy-paste is necessary to
ensure you're doing it correctly.
> NSMutableDictionary *localDict = [NSMutableDictionary
> dictionaryWithCapacity:70];
This is good.
> - (void) ssetMyBaseSettings:(NSMutableDictionary *) newSettings {
There's an extra "s" in here… does this mean you didn't actually
copy/paste the setter from your code? Or maybe you're using a
synthesized @property(copy) getter but a manually implemented setter,
and because you have typo'd the setter method, the compiler is
synthesizing one for you instead?
--Kyle Sluder
_______________________________________________
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