Re: Object Allocations
Re: Object Allocations
- Subject: Re: Object Allocations
- From: Rosyna <email@hidden>
- Date: Mon, 17 Sep 2001 07:47:08 -0700
-(void) awakeFromNib
{
// more
[NSThread detachNewThreadSelector:@selector(thread:) toTarget:self
withObject:nil];
// more
}
then
-(void) thread:(id)anObject
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
// much more
[pool release];
}
Ack, at 9/17/01, John C. Randolph said:
Let's see the code you're using to spawn the thread and create the pool.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insane People