Skip navigation.
 
mlRe: Guidance for Cocoa's steep learning curve
FROM : John Terranova
DATE : Fri May 16 07:32:10 2008

On May 15, 2008, at 6:33 PM, Joseph Ayers wrote:

> Imagine growing up on Excel and then dealing with NSTableView.
> How did this Cocoa NSTableView architecture evolve. Where is the 
> history?


When I first started with Cocoa I spent (and I still spend) a lot of 
time in code for NSTableView (and NSOutlineView).  A lot of time 
because of the complexity of the data model -- caching and maintaining 
the caches, spawning threads to render time consuming images, 
notifying the data source object when images are ready to be 
displayed.  You get the idea.  Of course, I started with slow tables 
that did the expensive rendering every time NSTableView asked for the 
data and I built the complexity on top of that.

I started learning how to use NSTableView by reading through 
NSTableView.h in Class Browser in Project Builder (pre-Xcode) and 
reading the NSTableView documentation that Class Browser gave me.  I 
learned that numberOfRowsInTableView: was a pretty important method in 
using NSTableView, so I went to http://developer.apple.com/ and 
searched (search field at top-right of page) for 
numberOfRowsInTableView.  That gave me a wealth of information -- 
documentation and sample programs.  Compiling and stepping through a 
couple sample programs helped me immensely.

There is plenty of documentation and sample programs to help 
developers learn this stuff.  Take the time to find it, read it, 
compile it, step through it, modify it, compile it again, step through 
it again, search the archives (http://www.cocoabuilder.com/archive/bydate
), read, then, finally, ask specific clarifying questions.

Oh, and my background?  6 years as an Excel programmer at Microsoft. 
It hasn't hindered me at all.  :)

   john

Related mailsAuthorDate
mlGuidance for Cocoa's steep learning curve Erik Buck May 15, 03:19
mlRe: Guidance for Cocoa's steep learning curve Ricky Sharp May 15, 04:26
mlRe: Guidance for Cocoa's steep learning curve Scott Ribe May 15, 05:33
mlRe: Guidance for Cocoa's steep learning curve David Wilson May 15, 07:16
mlRe: Guidance for Cocoa's steep learning curve Jens Alfke May 15, 16:59
mlRe: Guidance for Cocoa's steep learning curve Scott Ribe May 15, 17:18
mlRe: Guidance for Cocoa's steep learning curve colo May 15, 17:21
mlRe: Guidance for Cocoa's steep learning curve Uli Kusterer May 15, 17:54
mlRe: Guidance for Cocoa's steep learning curve colo May 15, 18:03
mlRe: Guidance for Cocoa's steep learning curve Jens Alfke May 15, 21:06
mlRe: Guidance for Cocoa's steep learning curve Stefan Werner May 15, 21:17
mlRe: Guidance for Cocoa's steep learning curve Scott Ribe May 15, 21:53
mlRe: Guidance for Cocoa's steep learning curve Bruno Sanz Marino May 16, 00:39
mlRe: Guidance for Cocoa's steep learning curve mmalc crawford May 16, 02:03
mlRe: Guidance for Cocoa's steep learning curve Jens Alfke May 16, 03:06
mlRe: Guidance for Cocoa's steep learning curve Joseph Ayers May 16, 03:33
mlRe: Guidance for Cocoa's steep learning curve Jens Alfke May 16, 04:07
mlRe: Guidance for Cocoa's steep learning curve mmalc crawford May 16, 06:12
mlRe: Guidance for Cocoa's steep learning curve James Merkel May 16, 07:04
mlRe: Guidance for Cocoa's steep learning curve John Terranova May 16, 07:32
mlRe: Guidance for Cocoa's steep learning curve Ilan Volow May 16, 08:55
mlRE: Guidance for Cocoa's steep learning curve john darnell May 16, 15:30
mlRe: Guidance for Cocoa's steep learning curve Michael Ash May 16, 15:49
mlRe: Guidance for Cocoa's steep learning curve I. Savant May 16, 15:57
mlRE: Guidance for Cocoa's steep learning curve john darnell May 16, 16:19
mlRe: Guidance for Cocoa's steep learning curve I. Savant May 16, 16:27
mlRe: Guidance for Cocoa's steep learning curve Jeff LaMarche May 16, 16:29
mlRe: Guidance for Cocoa's steep learning curve Michael Ash May 16, 16:31
mlRe: Guidance for Cocoa's steep learning curve Jens Alfke May 16, 16:50
mlRE: Guidance for Cocoa's steep learning curve john darnell May 16, 16:57
mlRe: Guidance for Cocoa's steep learning curve I. Savant May 16, 17:04
mlRe: Guidance for Cocoa's steep learning curve Michael Vannorsdel May 16, 17:41
mlRe: Guidance for Cocoa's steep learning curve Andy Lee May 16, 20:05
mlRe: Guidance for Cocoa's steep learning curve Scott Ribe May 16, 20:22
mlRe: Guidance for Cocoa's steep learning curve Shawn Erickson May 16, 21:51
mlRe: Guidance for Cocoa's steep learning curve Michael Ash May 17, 08:56
mlRe: Guidance for Cocoa's steep learning curve Torsten Curdt May 17, 11:53
mlRe: Guidance for Cocoa's steep learning curve Michael Ash May 17, 12:02
mlRe: Guidance for Cocoa's steep learning curve Torsten Curdt May 17, 12:46
mlRE: Guidance for Cocoa's steep learning curve john darnell May 19, 15:26
mlRe: Guidance for Cocoa's steep learning curve David Casseres May 22, 05:59
mlRe: Guidance for Cocoa's steep learning curve David Casseres May 22, 06:12