• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
runModalSession:relativeToWindow: alternative?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Window controller dealloc never called
  • Next by Date: NSTextView - supplying word completions for insertion point?
  • Previous by thread: Re: Accessor method styles
  • Next by thread: Re: runModalSession:relativeToWindow: alternative?
  • Index(es):
    • Date
    • Thread