Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Contexual menu (how to?)

Contexual menu (how to?)
Thread Tools
Fresh-Faced Recruit
Join Date: Oct 2000
Status: Offline
Reply With Quote
Nov 8, 2000, 02:26 PM
 
Could anyone point me to a tutorial/howto/example of building a contexual menu addon that can interact with the dock?
BTW what is the preffered language of OSX as far as programming these things, I'm fammiliar with RB,Java,C/C++. (just a Q).

Erick
     
Dedicated MacNNer
Join Date: Nov 2000
Status: Offline
Reply With Quote
Nov 8, 2000, 11:15 PM
 
Java and Objective C are the preferred, and for that matter only languages for programming OSX at any level above the console. Given your familiarity with OO languages and C, I wholeheartedly recommend Objective C. It is much, much simpler than C++. It feels like it was designed with OO in mind, as opposed to C++, which feels like a half-assed attempt to bolt OO onto C IMHO. If you have any grasp on OO programming, you should be up to speed within a week or so. Don't even consider using Swing w/ OSX's current L&F. It's horrible. File dialogs are the biggest offender I've found so far. By using the java<->objc bridge I suppose you could actually write your code in both languages. It's my understanding that you can create instances of Java classes and call their methods from ObjC objects although I believe Apple's main intention was the other way around. By choosing ObjC, you also have access to all of the legacy NS/OS and UNIX codebase.

Terry
     
Dedicated MacNNer
Join Date: Nov 2000
Status: Offline
Reply With Quote
Nov 8, 2000, 11:19 PM
 
Oops! I completely forgot about Carbon. I guess it's pretty clear what my feelings towards the new API are now. I guess that adds C and C++ to the list of viable choices. I still stand behind my recommendation of Cocoa w/ Objc though.

Terry
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:41 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2