| Article: |
The Cocoa Controller Layer | |
| Subject: | Error in code | |
| Date: | 2004-04-06 17:38:27 | |
| From: | flashbios | |
|
There is an error in the code if you wish to compile the program. In Book.h add the line:
|
||
Showing messages 1 through 2 of 2.
-
Error in code
2004-04-09 17:18:20 jwnestor [View]
-
Not an error...
2004-04-07 01:20:14 sporkstorms [View]
No, not really. TheBookclass is purely a data class - the M(odel) of MVC ;).
In fact, you shouldn't be importingCocoa.hin it.
The only classes that will be using Cocoa will beMyDocument- which Xcode creates automagically when you start a new cocoa document-based application - and possibly your controller if you subclassedNSArrayController.



PBXCp build/Bibliotecha.app/Contents/Info.plist build/Bibliotecha.build/Bibliotecha.build/Info.plist
cd /Users/jwnestor/Desktop/Bibliotecha
/Developer/Tools/pbxcp -exclude .DS_Store -exclude CVS -resolve-src-symlinks /Users/jwnestor/Desktop/Bibliotecha/build/Bibliotecha.build/Bibliotecha.build/Info.plist /Users/jwnestor/Desktop/Bibliotecha/build/Bibliotecha.app/Contents
/Users/jwnestor/Desktop/Bibliotecha/build/Bibliotecha.build/Bibliotecha.build: No such file or directory
PBXCp build/Bibliotecha.app/Contents/PkgInfo build/Bibliotecha.build/Bibliotecha.build/PkgInfo
cd /Users/jwnestor/Desktop/Bibliotecha
/Developer/Tools/pbxcp -exclude .DS_Store -exclude CVS -resolve-src-symlinks /Users/jwnestor/Desktop/Bibliotecha/build/Bibliotecha.build/Bibliotecha.build/PkgInfo /Users/jwnestor/Desktop/Bibliotecha/build/Bibliotecha.app/Contents
/Users/jwnestor/Desktop/Bibliotecha/build/Bibliotecha.build/Bibliotecha.build: No such file or directory
Running 10.3.3 on a G4. Other projects compile OK. Any thoughts? Thanks