• 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: Using NSAlert sheets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSAlert sheets


  • Subject: Re: Using NSAlert sheets
  • From: "Clint Shryock" <email@hidden>
  • Date: Wed, 20 Dec 2006 14:02:53 -0600

you could try using the "Functional API" instead of the NSAlert class?
http://developer.apple.com/documentation/Cocoa/Conceptual/Sheets/Tasks/UsingAlertSheets.html#//apple_ref/doc/uid/20001045-61775-BCICGDAF

the documentation recommends your method for 10.3 and later, but if it's
causing you problems maybe this will work instead.
so something along the lines of:

NSBeginAlertSheet(@"Your bookmarks are missing!",
@"Import Bookmarks",
@"Create New Bookmarks",
@"Cancel",
sender,
self,
@selector(BookmarksLoadAlertDidEnd:returnCode:contextInfo:),
NULL,
sender,
@"I can't find your bookmarks.  If you have a backup, use 'Import Bookmarks'
to import your backup copy.");


+cts _______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >Using NSAlert sheets (From: Matt <email@hidden>)

  • Prev by Date: Re: assigning the same keyboard command to more than one menu item
  • Next by Date: Re: assigning the same keyboard command to more than one menu item
  • Previous by thread: Using NSAlert sheets
  • Next by thread: Re: Using NSAlert sheets
  • Index(es):
    • Date
    • Thread