Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why the error?



I started a project using the Cocoa "document based" template in Project Builder, added one custom class subclasses from NSObject, and it built without error. Then I realized that I really wanted to start with a straight Cocoa application, so I started a new project and copied and pasted my code from the other project. But now I get a ton of error messages, mostly the same, telling me that my myClass is "undefined type." myClass is called in a controller that is subclassed from NSDocument. What am I missing?

Brian E. Howard
Cocoa Cult Central
still wondering if a "file" is a synonym for "document"




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.