• 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: Non-AppKit equivalent for NSWorkspace and/or future-proof poseAsClass?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-AppKit equivalent for NSWorkspace and/or future-proof poseAsClass?


  • Subject: Re: Non-AppKit equivalent for NSWorkspace and/or future-proof poseAsClass?
  • From: Ricky Sharp <email@hidden>
  • Date: Wed, 9 Jan 2008 15:23:28 -0600


On Jan 9, 2008, at 9:25 AM, Sean McBride wrote:

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.


Bad advice; there is still a definite need for Carbon. I would thus recommend that it is indeed used for new code when necessary. For example, to get better support for speech synthesis, speech recognition and Ink, I've had to rely upon the Carbon APIs. Cocoa APIs do exist for some of these areas, but do not expose all the capabilities of the underlying APIs.

If/when Apple decides to obsolete Carbon, I'm sure Cocoa APIs will be added to ensure apps will still have the necessary functionality.

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________

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


  • Follow-Ups:
    • Re: Non-AppKit equivalent for NSWorkspace and/or future-proof poseAsClass?
      • From: "Sean McBride" <email@hidden>
References: 
 >Non-AppKit equivalent for NSWorkspace and/or future-proof poseAsClass? (From: Phill Kelley <email@hidden>)
 >Re: Non-AppKit equivalent for NSWorkspace and/or future-proof poseAsClass? (From: Matt Gough <email@hidden>)
 >Re: Non-AppKit equivalent for NSWorkspace and/or future-proof poseAsClass? (From: "Sean McBride" <email@hidden>)

  • Prev by Date: [MEET] Los Angeles Cocoaheads Thursday 1/10 at 7:30pm
  • Next by Date: Re: Non-AppKit equivalent for NSWorkspace and/or future-proof poseAsClass?
  • Previous by thread: Re: Non-AppKit equivalent for NSWorkspace and/or future-proof poseAsClass?
  • Next by thread: Re: Non-AppKit equivalent for NSWorkspace and/or future-proof poseAsClass?
  • Index(es):
    • Date
    • Thread