Re: IBOutlets and savePanels
Re: IBOutlets and savePanels
- Subject: Re: IBOutlets and savePanels
- From: Andrew Pinski <email@hidden>
- Date: Sat, 13 Jul 2002 22:28:04 -0400
On Saturday, July 13, 2002, at 10:18 , Jeff LaMarche wrote:
On Saturday, July 13, 2002, at 06:20 PM, Andrew Merenbach wrote:
I have questions on two completely different things. The first is
about IBOutlets. In my program, I have a file, Controller.h,
which has
in it:
IBOutlet NSTextField *textField;
However, in some other sample code, I've seen it also as:
IBOutlet id textField;
IBOutlet is simply a cue to Interface Builder and actually resolves to
void (I think or some other non-functional code). As for id, you should
try reading Apple's Objective-C documentation (they changed the name
recently, but it used to be "Object-Oriented Programming and the
Objective-C Language" and is a must-read if you're doing any
Cocoa work.
Unlike a lot of official Apple docs, it's really a very good book
(probably because it was written by NeXT a long time ago).
IBOutlet resolve to "" aka nothing.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.