• 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: Learning Cocoa, but no programing experience, possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Learning Cocoa, but no programing experience, possible?


  • Subject: Re: Learning Cocoa, but no programing experience, possible?
  • From: Matteo Ceruti <email@hidden>
  • Date: Thu, 2 Feb 2006 00:28:24 +0100

Hi,

this probably is not going to help you much, but I'll tell you how I started with programming and what I experienced.
I got me a copy of CodeWarrior 7 and began reading every single line of code that shipped on the disc(s).
Unfortunately I only read some of the Introductions and Tutorials, instead I read and tried to understand the example-projects - most of them were written in C.
Somehow I managed to get a clue about how C and C++ does things, but I actually did not understand the concepts behind memory, pointers, the local stack and so on.
I was having tons of global data, because using local Variables seem to cause random crashes...
I was tweaking the source until the compiler stopped whining and I was happy, when my small crappy app appeared to work.
I wondered: "Why the hell do those Object-pointers cause crashes ?" .. of course they did, since many of my C++ instances where declared locally on a methods's stack-frame. I was using the & and * operators randomly, just to make my sources compile :-|


This was really a pain. Although I do not know the impact of "my way of learning", but I really recommend trying to understand the basic low-level stuff before playing with C and also Objective-C.
so...
Do read source code... Do read source code ...use the debugger to see what happens.
Do write source code... Do write source code... try and error is good
BUT
Do also take advantage of books and documentation, because there is plenty out there!
If you know what you're actually asking the Processor to do, it can be real fun to take advantage of
the features of C, that for example Java can't offer.


thats just my 0.01$
good luck!

Matteo




_______________________________________________ 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: 
 >Learning Cocoa, but no programing experience, possible? (From: Christian Cruz <email@hidden>)

  • Prev by Date: roll-over on NSAttributedString within an NSOutlineView.
  • Next by Date: File permissions when copying files using NSFileManager
  • Previous by thread: Re: Learning Cocoa, but no programing experience, possible?
  • Next by thread: Re: Learning Cocoa, but no programing experience, possible?
  • Index(es):
    • Date
    • Thread