On Tue, May 27, 2008 at 4:28 PM, John Love <[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to