Re: Using NSAlert sheets
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