Skip navigation.
 
mlRe: Class name
FROM : John C. Randolph
DATE : Mon Nov 22 20:13:49 2004

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_removed>> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html

Related mailsAuthorDate
mlClass name alex Nov 22, 18:42
mlRe: Class name Scott Stevenson Nov 22, 19:02
mlRe: Class name Tod Cunningham Nov 22, 19:09
mlRe: Class name Ricky Sharp Nov 22, 19:09
mlRe: Class name Ricky Sharp Nov 22, 19:13
mlRe: Class name Daniel DeCovnick Nov 22, 19:13
mlRe: Class name John C. Randolph Nov 22, 20:13
mlRe: Class name Sherm Pendley Nov 22, 20:30
mlRe: Class name Shawn Erickson Nov 22, 20:43