Re: 4.5 question - _holdMe array trick
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.