Re: How to display alert box in COCOA
Re: How to display alert box in COCOA
- Subject: Re: How to display alert box in COCOA
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 5 Dec 2003 04:37:20 -0800
On Dec 5, 2003, at 3:57 AM, Shashikant Hire wrote:
I want to display an alert box. Application run successfully but alert
is
displayed
on screen.
Isn't that the point of creating an alert panel? <;*)
2003-12-05 05:34:33.489 Hello[851] *** _NSAutotreleaseNoPool(): Object
0x9af70 of
class NSCFString autoreleased with no pool in place - just leaking
If you're getting this warning, it means you created a new thread and
didn't set up an autorelease pool in that thread. You can do so by just
including one line of code at the top of the thread's entry method:
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
And before your thread ends:
[pool release];
BTW, did you have a question for the list?
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://seiryu.home.comcast.net/
S/MIME signature available upon request
"That's a funny thing to promise. Well, you can't never let anything
happen to him [Nemo]; then, nothing would ever happen to him." - Dory,
from the movie "Finding Nemo"
_______________________________________________
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.