Re: Cocoa equivelant of NMInstall()?
Re: Cocoa equivelant of NMInstall()?
- Subject: Re: Cocoa equivelant of NMInstall()?
- From: Eric Schlegel <email@hidden>
- Date: Wed, 17 Mar 2004 21:24:50 -0800
On Mar 17, 2004, at 5:34 PM, Gwynne wrote:
I've got an LSBackgroundOnly application that occasionally needs to
pop up an alert for the user to read. Nothing more fancy than that.
It's Cocoa, obviously... I haven't found anything yet that's really
suitable to the purpose, short of changing to LSUIElement and using
NSAlert (or NSRunAlertPanel()). NMInstall() is an ancient Carbon
routine that doesn't seem to support Unicode; do I really have to
change what should be a bg-only application to a UI element just
because it needs to pop up a notification when something critically
bad happens? What is the Cocoa equivelant of NMInstall()?
I'm not sure if there's a Cocoa API for this, but I would recommend
CoreFoundation/CFUserNotification.h. It's what NMInstall uses
internally.
-eric
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.