• 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: From Carbon to Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: From Carbon to Cocoa


  • Subject: Re: From Carbon to Cocoa
  • From: m <email@hidden>
  • Date: Tue, 20 Jul 2004 15:37:24 -0700

On Jul 20, 2004, at 1:42 PM, Shawn Erickson wrote:

On Jul 20, 2004, at 12:57 PM, Tim Conkling wrote:

As a new Cocoa developer, I'm having a bit of difficulty figuring out how to do things the Cocoa way -- my brain is stuck in Carbon-land.

[snip]

In my opinion a way to attack this is to forget you ever knew Carbon, don't try to find parallels. Learn it from a clean slate and then look back towards Carbon afterwards.

As a graduate of MacApp, Think Class Library, PowerPlant, and MFC, I'd like to agree with Shawn. Parallels exist of course, and many patterns and concepts do transfer from other class libraries to Cocoa, but OOP in Objective-C is different enough from that of Object Pascal, Think C, and C++ that it is good to try to see it on its own terms. What I found particularly frustrating was trying to find the Objective-C "way" of implementing C++ idioms that I had come to rely on.

Better just to find new idioms.

Someone else had mentioned getting one of the "Learning Cocoa" books and working through the examples. This is good advice.

_murat
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >From Carbon to Cocoa (From: Tim Conkling <email@hidden>)
 >Re: From Carbon to Cocoa (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: Sending image from separate thread back to AppController
  • Next by Date: Alias Woes...
  • Previous by thread: Re: From Carbon to Cocoa
  • Next by thread: Re: From Carbon to Cocoa
  • Index(es):
    • Date
    • Thread