Skip navigation.
 
mlrunModalSession:relativeToWindow: alternative?
FROM : Michael Rondinelli
DATE : Tue Aug 29 22:20:29 2006

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_removed>

Related mailsAuthorDate
mlrunModalSession:relativeToWindow: alternative? Michael Rondinelli Aug 29, 22:20
mlRe: runModalSession:relativeToWindow: alternative? Matt Neuburg Aug 30, 04:50