Monthly Archive for May, 2005

OO’s weird, man…

Started playing with Cocoa and Objective C on my PowerBook this evening, and got through Chapter 2 of the so-far-excellent Cocoa Programming for Mac OS X, 2e by Aaron Hillegass. Easy to understand so far, but man is this object oriented stuff sort of… heretical. Very odd indeed.
I suppose I’ll get used to it as I go, but for now… I draw the controls on the window, create a class, give it "outlets" and "actions", instantiate the class, drag and drop them onto / from controls to "connect" them, and save. Now all I have to do is fill in the body of the actions (which write data to the outlets), and up until this point the only time I TOUCHED the keyboard was to name the project & controls, and give the outlets and actions names?
Like I said… heretical.