From: FUJIMOTO H. <hi...@im...> - 2003-12-02 04:14:53
|
At Sat, 29 Nov 2003 16:26:26 -0600, Dan Weinand wrote: > My rubycocoa application has two classes derived from NSObject. One is > a standard AppController, and the other is just a simple support class. > > When I build my application it comes up with "Unknown class > `AppController' in nib file, using `NSObject' instead." The same error > occurs with my other class. > > I checked and all of the examples build fine. I have gone through every > piece of code in the samples to try and find out what I'm missing, but > I can't find anything. > > My class files are named the exact class name in IB (including case). > They are in the same folder as the project file. > I have all my require and includes, and my class definitions are in the > exact same format as in the examples. You forgot to do subclassing AppController on "classes" tab of a nib window of Interface Builder. Didn't you? If this guess is wrong, I'm sorry. Have you learned some simple tutorial of Cocoa like Currency Converter with Objective-C, Java or others? If you have done, you can do a same almost with RubyCocoa. regards -- FUJIMOTO Hisakuni |