runModalSession:relativeToWindow: alternative?
runModalSession:relativeToWindow: alternative?
- Subject: runModalSession:relativeToWindow: alternative?
- From: Michael Rondinelli <email@hidden>
- Date: Tue, 29 Aug 2006 16:20:29 -0400
Hi There,
So NSApp's runModalSession:relativeToWindow: method has been marked
deprecated for some time, and the docs advise using beginModal:...
instead. The problem is there is no way that I see to get a modal
session back for a sheet otherwise. I need to do processing inside the
modal run loop, for which the beginModal:... recommends using
runModalSession!
Is this a hole in the API, or is Apple implying that you shouldn't do
work in a modal event loop?
(And yes, I am still using runModalSession:relativeToWindow:, but the
warning log message annoys me.)
Thanks,
Michael
Michael Rondinelli
Chief Technology Officer
EyeSee360, Inc.
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden