ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
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:


#import <Cocoa/Cocoa.h>


under


#import <Foundation/Foundation.h>


and everything will compile fine.


1 to 2 of 2
1 to 2 of 2