• 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: Alert Sheets hard wired in Interface Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alert Sheets hard wired in Interface Builder


  • Subject: Re: Alert Sheets hard wired in Interface Builder
  • From: "Kyle Sluder" <email@hidden>
  • Date: Tue, 27 May 2008 16:40:50 -0400

On Tue, May 27, 2008 at 4:28 PM, John Love <email@hidden> wrote:
> Instead of calling NSAlertSheet with sender, defaultButton etc., is there a
> way to call a window sheet whose GUI is hard wired in Interface Builder.  I
> know that in Applescript Studio, all you have to do is provide a name for
> the sheet you wish to call and it appears.  Can the same implementation
> scheme exist in Cocoa/XCODE?

What is this Ecks See Oh Dee Eee you refer to?  Is it related to Xcode?  :P

You're looking for +[NSApplication
beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:],
which is appropriately described in the "Custom Sheets" section of the
"Sheet Programming Topics for Cocoa" guide:
http://developer.apple.com/documentation/Cocoa/Conceptual/Sheets/Tasks/UsingCustomSheets.html#//apple_ref/doc/uid/20001290

--Kyle Sluder
_______________________________________________

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: Alert Sheets hard wired in Interface Builder
      • From: Jens Alfke <email@hidden>
References: 
 >Alert Sheets hard wired in Interface Builder (From: "John Love" <email@hidden>)

  • Prev by Date: Re: File's Owner
  • Next by Date: Need NSNumber setBoolValue for KVC Compliance workaround
  • Previous by thread: Re: Alert Sheets hard wired in Interface Builder
  • Next by thread: Re: Alert Sheets hard wired in Interface Builder
  • Index(es):
    • Date
    • Thread