Is there a way to enumerate the outlets of an object automatically?
In a certain type of controller object I'm finding I'm writing a lot
of code like this:
[myOutlet1 setEnabled:NO];
[myOutlet2 setEnabled:NO];
... etc for another several dozen outlets ...
If I could get a list of outlets (maybe as a dictionary with the ivar
name as key) I could probably find much easier ways to do stuff to
each one. I suspect the answer is no but I thought I'd ask anyway...
cheers, Graham
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]