Here's a recipe I discovered recently: Consult the Apple Human Interface Guidelines PDF [1], which sometimes has an "Implementation" section that tells you what classes, APIs, or constants to use.
In this case, browsing for this section: Part III: Aqua > Windows > Dialogs > Types of Dialogs and When to Use Them > Sheets (Document-Modal Dialogs) ...reveals the key word "sheet", which in NSAlert.h will lead you straight to -[NSAlert beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:] In the old days, the HI Guidelines always left us to discover the appropriate implementation ourselves. I like the new "Implementation" sections a lot, though currently they seem to only exist for the various views and controls. [1] <http://developer.apple.com/mac/library/DOCUMENTATION/UserExperience/Conceptual/AppleHIGuidelines/OSXHIGuidelines.pdf> Cheers, --Dave On Dec 18, 2009, at 10:37 PM, Michael Davey wrote: > Hi, > > Sorry for the really noob posting, but I am currently using the NSAlert class > to display alerts in my application, but what I would rather do is display > one of the alert boxes that slide out of the title bar, as with the > installer, firefox and a slew of other applications. Does anyone know what I > need to do to do this? > > Thanks for you time in advance! > > Mikey_______________________________________________ > > 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/dlyons%40lyons42.com > > This email sent to dly...@lyons42.com _______________________________________________ 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 arch...@mail-archive.com