• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: NSMutableDictionary <-- setter method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >RE: NSMutableDictionary <-- setter method (From: "Jonathan E. Jackel" <email@hidden>)

  • Prev by Date: Re: NSMutableDictionary <-- setter method
  • Next by Date: Re: Panel items failing to draw
  • Previous by thread: Re: NSMutableDictionary <-- setter method
  • Next by thread: can't get anything useful from NSZombie
  • Index(es):
    • Date
    • Thread