• 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 add modal dialog once application begin to run
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to add modal dialog once application begin to run


  • Subject: Re: how to add modal dialog once application begin to run
  • From: Scott Ribe <email@hidden>
  • Date: Tue, 15 Jul 2008 08:04:45 -0600
  • Thread-topic: how to add modal dialog once application begin to run

In the controller for the main window, I'd put an awakeFromNib: method that
uses NSApplication's
beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo: method
to display it as a sheet. Although if it's as simple as you described, I'd
skip the nib & controller for the modal dialog, and just use NSAlert.


--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

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

References: 
 >how to add modal dialog once application begin to run (From: "李国良" <email@hidden>)

  • Prev by Date: Re: Hillegass, Third Edition, Chapter 18
  • Next by Date: Re: Core Animation: Disabling Implicit Animations
  • Previous by thread: how to add modal dialog once application begin to run
  • Next by thread: Re: how to add modal dialog once application begin to run
  • Index(es):
    • Date
    • Thread