Re: Non-AppKit equivalent for NSWorkspace and/or future-proof poseAsClass?
Re: Non-AppKit equivalent for NSWorkspace and/or future-proof poseAsClass?
- Subject: Re: Non-AppKit equivalent for NSWorkspace and/or future-proof poseAsClass?
- From: "Sean McBride" <email@hidden>
- Date: Wed, 9 Jan 2008 10:25:59 -0500
- Organization: Rogue Research
On 1/9/08 2:13 PM, Matt Gough said:
>> 1. Can I get the same NSWorkspace notifications from somewhere else?
>> I've
>> nosed through /System/Library/Frameworks without stumbling across
>> anything
>> obvious but I may just be blind.
>
>Carbon events seems a good way to go:
>
>See kEventClassApplication in CarbonEvents.h
I'm not sure I'd recommend Carbon Events for new code. Apple decided to
kill 64 bit Carbon, and if you look through CarbonEvents.h you'll see
that most APIs are 32 bit only.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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