• 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
Modal for document?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Modal for document?


  • Subject: Modal for document?
  • From: John Timmer <email@hidden>
  • Date: Wed, 16 Feb 2005 10:19:05 -0500

I'm making an document based application that will have a primary view
window, but a potentially infinite number of detailed view windows
associated with a single document.  Some things that can happen in a
detailed window may need to propagate throughout all the document's
associated windows.  I could put up a sheet in the window that starts the
update and run the whole app modal for that, but there's no reason this
should block the user from working on other documents while this is
happening.

What I want is essentially a modalForDocument: call, which would block any
activity that changes a single document, but leaves the app as a whole
responsive.  I can't seem to find any such thing.

The only "roll-my-own" solution I could think of was sending a message to
all the objects in my window controllers array and having them block each
window, but I'd imagine showing all the potential sheets would take more
processing power than actually running the update.

Anybody have advice for me on this?

Thanks,

John


_______________________________________________
This mind intentionally left blank


 _______________________________________________
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: Casting from NSArray to a custom class
  • Next by Date: Re: Casting from NSArray to a custom class
  • Previous by thread: Re: How to get image of a WebView???
  • Next by thread: size of contextual menu items
  • Index(es):
    • Date
    • Thread