• 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
Re: How to catch modal window appearance?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to catch modal window appearance?


  • Subject: Re: How to catch modal window appearance?
  • From: Alexander Bokovikov <email@hidden>
  • Date: Sat, 27 Mar 2010 21:01:40 +0500


On 27.03.2010, at 20:36, Ken Thomases wrote:

The app controller should just send a message to the window controller asking it to do the whole thing. Then, the window controller can create the window, initiate the process, and invoke - runModalForWindow:, in whichever order it prefers.

There's no need to expose the inner/private stuff to the app controller, if you think it doesn't belong there.

OK, Finally I've come to some understanding.

Finally, one extra question. When modal window runloop starts? Does it start after the window is shown on screen or before that? If it starts after window showing then I'd use performSelector:withObject:afterDelay: to be sure that my procedure will start to execute itself when window is already visible.

Thank you!
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to catch modal window appearance?
      • From: Ken Thomases <email@hidden>
References: 
 >How to catch modal window appearance? (From: Alexander Bokovikov <email@hidden>)
 >Re: How to catch modal window appearance? (From: Fritz Anderson <email@hidden>)
 >Re: How to catch modal window appearance? (From: Alexander Bokovikov <email@hidden>)
 >Re: How to catch modal window appearance? (From: Ken Thomases <email@hidden>)
 >Re: How to catch modal window appearance? (From: Alexander Bokovikov <email@hidden>)
 >Re: How to catch modal window appearance? (From: Ken Thomases <email@hidden>)
 >Re: How to catch modal window appearance? (From: "Alexander Bokovikov" <email@hidden>)
 >Re: How to catch modal window appearance? (From: Ken Thomases <email@hidden>)
 >Re: How to catch modal window appearance? (From: Alexander Bokovikov <email@hidden>)
 >Re: How to catch modal window appearance? (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: How to catch modal window appearance?
  • Next by Date: Re: How to catch modal window appearance?
  • Previous by thread: Re: How to catch modal window appearance?
  • Next by thread: Re: How to catch modal window appearance?
  • Index(es):
    • Date
    • Thread