Re: Obj-C, class methods and instance methods
Re: Obj-C, class methods and instance methods
- Subject: Re: Obj-C, class methods and instance methods
- From: Ondra Cada <email@hidden>
- Date: Mon, 20 May 2002 00:55:43 +0200
On Monday, May 20, 2002, at 12:34 , Aram Greenman wrote:
You can't wire a class as a target in Interface Builder, only an
instance.
But you can do so in code:
[foo setTarget:[Bar class]];
In a sense, I think you can do that (partially) directly in IB too:
although I haven't tried, I am pretty sure you might use a class as a File'
s Owner.
Well, it is somewhat pathological, and you would need to provide accessor
methods for *all* outlets, but it should work all right. Don't you just
love ObjC? ;)
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.