On Jul 18, 2008, at 12:00 PM, Nathaniel Gottlieb-Graham wrote:
if ([classNameArray containsObject:nameOfClass])
{
[[[??????? alloc]initWithNibName:nameOfClass] autorelease]
}
How can I get the class name into the ??????? part?
Substitute the ?????? with a Class data structure, which you can get
by calling +class on any object.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list ([email protected])
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]