Re: Class name
Re: Class name
- Subject: Re: Class name
- From: "John C. Randolph" <email@hidden>
- Date: Mon, 22 Nov 2004 11:13:49 -0800
On Nov 22, 2004, at 10:13 AM, Ricky Sharp wrote:
Don't do this. Use Scott Stevenson's suggestion of the
NSClassFromString function. I keep forgetting about those functions
when I search for APIs.
One other thing to mention about NSClassFromString() and
NSStringFromClass() is that they work for all classes, not just the
ones derived from NSObject.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden