RE: NSMutableDictionary <-- setter method
RE: NSMutableDictionary <-- setter method
- Subject: RE: NSMutableDictionary <-- setter method
- From: "Jonathan E. Jackel" <email@hidden>
- Date: Wed, 28 Apr 2004 16:00:15 -0400
>
- (void) setCities:(NSMutableDictionary *)theCities
>
{
>
[retain theCities];
>
[release cities]; //really should be lowercase
>
cities = theCities;
>
}
What I really meant was:
- (void) setCities:(NSMutableDictionary *)theCities
{
[theCities retain];
[cities release]; //really should be lowercase
cities = theCities;
}
Sorry for any confusion. JJ.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.