• 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: NSAlert or what?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAlert or what?


  • Subject: Re: NSAlert or what?
  • From: Michael Davey <email@hidden>
  • Date: Sat, 19 Dec 2009 18:42:12 +1100

Thanks for the pointer!

On 19 Dec 2009, at 18:37, David A. Lyons wrote:

> 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 (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
>

_______________________________________________

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: 
 >NSAlert or what? (From: Michael Davey <email@hidden>)
 >Re: NSAlert or what? (From: "David A. Lyons" <email@hidden>)

  • Prev by Date: Re: NSAlert or what?
  • Next by Date: Re: NSAlert or what?
  • Previous by thread: Re: NSAlert or what?
  • Next by thread: Weird problem closing windows
  • Index(es):
    • Date
    • Thread