Re: Instance an from an NSString Class name
Re: Instance an from an NSString Class name
- Subject: Re: Instance an from an NSString Class name
- From: "Stephen J. Butler" <email@hidden>
- Date: Tue, 21 Sep 2010 23:08:09 -0500
On Tue, Sep 21, 2010 at 11:01 PM, <email@hidden> wrote:
> Given an NSString which is the name of a class what voodoo do I perform to
> create an instance of that class?
Use NSClassFromString().
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden