Hi, all.
I have recently started reading Aaron Hillegass's book on Cocoa programming, and I had the idea to try the first example program in NeXTSTEP/OPENSTEP.
The guide works except for one thing that I haven't figured out yet: how do I attach my own class to the objects in Interface Builder?
In the sample from Aaron's book, you create a window with 2 buttons and 1 text field, then you create a class with 2 methods and 1 value.
I think the code will run fine (all it does is generate random numbers), but I can't get the code connected to the GUI in Interface Builder.
Anybody have or know of a development guide? Or, does anyone remember how to do this?
Thanks so much.
I haven't used Project Builder for quite some time, but perhaps the book "NeXTSTEP Programming, Step One: Object-Oriented Applications" by Simson Garfinkel and Michael Mahoney helps. Simson Garfinkel offers a PDF of the book for download:
http://simson.net/ref/1993/NeXTSTEP3.0.pdf-- Michael
Yes, it looks like that will help. I'll try that today. Thanks!
Thanks! I now have a NeXTSTEP 3.3 application and a Cocoa application that are practically code-identical, and do the same thing. Very neat.
It's a very, very simple application, sure, but it's neat to see the same thing working on both NS3.3 and Mavericks.
And, the NSString.h header is not needed on the NeXT side.