• 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: contextual menu plugin example in cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: contextual menu plugin example in cocoa


  • Subject: Re: contextual menu plugin example in cocoa
  • From: Klaus Wik <email@hidden>
  • Date: Tue, 01 Sep 2009 20:48:09 +0200
  • Organization: Universitetet i Oslo

Jean-Daniel Dupas wrote:

Le 1 sept. 2009 à 19:41, Klaus Wik a écrit :

Nick Zitzmann wrote:
On Aug 19, 2009, at 5:26 PM, augusto callejas wrote:
if so, where would i find sample code like above, except using just
cocoa?
There aren't any. You have to use Carbon for at least the entry point of a CM plugin. After that, you can call any Foundation method you want, or even AppKit methods after calling NSApplicationLoad() once (this is very important!).
And the people who could comment on Snow Leopard can't, because it is under NDA at this time.

Can we discuss it now, please? The NDA period is over, right?

(Me myself, I want to make a CM for Finder to look for a hidden folder .snapshot and if that one exist, sort through the folders inside based on the date. This .snapshot folder exist on NetApp disks (Ataboy/beast/etc?) and is a TimeMachine Light service on such a device, showing the last N nightly and hourly backups. Beat me to it, please ;)
--

Yes. CM are deprecated (means do not work at all in Snow Leopard) and should be rewrote as Services. (see Services Programming Guide)

That is exactly the kind of little, but spot on comment I find so sorely missing during the NDA period. Thanks!


Do you wan to know more about CM and Cocoa though ?

Actually, now that services isn't one big bloated list that is always on, it is a sensible replacement. That only leaves us with that awkward period when we have to accommodate both Leopards and Leotards... sorry, Snow Leopards ;)


--
Klaus Wik

_______________________________________________

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


References: 
 >Re: contextual menu plugin example in cocoa (From: Klaus Wik <email@hidden>)
 >Re: contextual menu plugin example in cocoa (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Best place to ask about event taps?
  • Next by Date: NSScrollView: Scrollers invisible under Mac OS X 10.6
  • Previous by thread: Re: contextual menu plugin example in cocoa
  • Next by thread: Re: contextual menu plugin example in cocoa
  • Index(es):
    • Date
    • Thread