• 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: What framework & language is good for an old C++ mule.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What framework & language is good for an old C++ mule.


  • Subject: Re: What framework & language is good for an old C++ mule.
  • From: John Stiles <email@hidden>
  • Date: Mon, 13 Mar 2006 07:18:48 -0800

Heh, I must post too much... everyone knows what I'm going to say before I say it! ;)

Anyway, just to clarify, based on my personal experience I can strongly recommend the hybrid C++/Objective-C solution if you're working with back-end code that needs to remain cross-platform. Most of the code I write needs to be platform-neutral, so my brain is usually stuck in "C++/STL mode" and not "Objective-C/NSObject mode." GUI code is an obvious exception to the "must run everywhere" rule, and IMO Cocoa/AppKit is the obvious choice for GUI development. No other library I've ever seen on the Mac can even come close.

If your app is Mac-only, Mac-forever, then you can do everything in Objective-C and make a great product that way too. And you won't have to ever switch your brain from C++ mode to Objective-C mode, which has got to be a perk ;)


Michael Rothwell wrote:
Objective-C is a nice language once you get used to it, and the learning curve is not steep. If you know both C and object-oriented programming principles, you should be doing well in a few days. Get the O'Reilly Objective-C Pocket Reference. Read up on "categories" and how messaging really works. Realize that there are no namespaces in Objective-C, beyond adding a prefix of your choosing to all of your class names. There ya go. Now it's just another framework to learn.

John Stiles typically recommends doing your "back end" coding in C++, and building a Cocoa/Objective-C/Objective-C++ GUI. That may actually be the best route for you, since you already know C++. You should still learn Objective-C and Cocoa, of course, because it'll make your GUIs better, and easier to create for you.

-M


On Mar 12, 2006, at 6:02 PM, cudrnak wrote:

Hello all,
I am looking to learn to write software for Mac OS X.

Can anyone suggest a good route for me?

-- Michael Rothwell email@hidden



_______________________________________________
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
_______________________________________________
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: 
 >What framework & language is good for an old C++ mule. (From: cudrnak <email@hidden>)
 >Re: What framework & language is good for an old C++ mule. (From: Michael Rothwell <email@hidden>)

  • Prev by Date: Re: Predicate Binding Question (2 tableviews, checkbox filtering)
  • Next by Date: MEETING: Chicago - CAWUG March 14th
  • Previous by thread: Re: What framework & language is good for an old C++ mule.
  • Next by thread: Re: What framework & language is good for an old C++ mule.
  • Index(es):
    • Date
    • Thread