• 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: 4.5 question - _holdMe array trick
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 4.5 question - _holdMe array trick


  • Subject: Re: 4.5 question - _holdMe array trick
  • From: "b.bum" <email@hidden>
  • Date: Thu, 21 Aug 2003 13:14:29 -0700

On Thursday, August 21, 2003, at 1:03 , Robert A. Decker wrote:
We've found that if we occasionally have a problem with something being
collected out from underneath us, the problem is solved by sticking the
item in an NSArray. I assume this is a bridge issue.

Does anyone know if you can get the same fix with an NSDictionary?

Yes. Or NSSet. Or anything else that'll -retain the object when it is inserted.


I always like this idiom:

NSMutableArray *noReallyIMeanNeverEverGoAway = [NSMutableArray array];
[noReallyIMeanNeverEverGoAway addObject: noReallyIMeanNeverEverGoAway];

b.bum
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >4.5 question - _holdMe array trick (From: "Robert A. Decker" <email@hidden>)

  • Prev by Date: 4.5 question - _holdMe array trick
  • Next by Date: Re: 4.5 question - _holdMe array trick
  • Previous by thread: 4.5 question - _holdMe array trick
  • Next by thread: Re: 4.5 question - _holdMe array trick
  • Index(es):
    • Date
    • Thread