Women in Technology

Hear us Roar



Subject:   Not an error...
Date:   2004-04-07 01:20:14
From:   sporkstorms
Response to: Error in code

No, not really. The Book class is purely a data class - the M(odel) of MVC ;).
In fact, you shouldn't be importing Cocoa.h in it.


The only classes that will be using Cocoa will be MyDocument - which Xcode creates automagically when you start a new cocoa document-based application - and possibly your controller if you subclassed NSArrayController.