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
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 mails | Author | Date |
|---|---|---|
| alex | Nov 22, 18:42 | |
| Scott Stevenson | Nov 22, 19:02 | |
| Tod Cunningham | Nov 22, 19:09 | |
| Ricky Sharp | Nov 22, 19:09 | |
| Ricky Sharp | Nov 22, 19:13 | |
| Daniel DeCovnick | Nov 22, 19:13 | |
| John C. Randolph | Nov 22, 20:13 | |
| Sherm Pendley | Nov 22, 20:30 | |
| Shawn Erickson | Nov 22, 20:43 |






Cocoa mail archive

