• 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: Using Objective C in a Finder "Contextual Menu plug-in"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Objective C in a Finder "Contextual Menu plug-in"


  • Subject: Re: Using Objective C in a Finder "Contextual Menu plug-in"
  • From: Dirk Stegemann <email@hidden>
  • Date: Sun, 21 May 2006 22:15:48 +0200

Hello,

Am 21.05.2006 um 21:52 schrieb Rob Crawford:

Is there a way to use objective-c in a Finder Contextual Menu plug- in, I know they are written in Carbon,

I write all my CMM plug-ins in Obj-C / Cocoa, and they play nice in Finder.



and I have the base of my Contextual Menu plug-in working, after adding some objective-c to the mix, the plug-in still works but causes the Finder to crash after the menu is released, not even on the menus I have added.

Are you over-releasing something?


I have tried to create a NSAutoreleasePool in a wrapper function that makes the objective-c calls.

This is indeed an important thing to do.


I want to reuse the code from the my app so I don't need to rewrite it.

Not sure what you mean by "reuse the code from the my app", because I never wrote an app which uses Contextual Menus itself (just some CMM plug-ins).



Regards, Dirk Stegemann



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Using Objective C in a Finder "Contextual Menu plug-in" (From: Rob Crawford <email@hidden>)

  • Prev by Date: Re: iTunes user rating
  • Next by Date: Please, White Noise app
  • Previous by thread: Using Objective C in a Finder "Contextual Menu plug-in"
  • Next by thread: Please, White Noise app
  • Index(es):
    • Date
    • Thread