FROM : Shawn Erickson
DATE : Mon Nov 22 20:43:28 2004
On Nov 22, 2004, at 9:42 AM, <email_removed> wrote:
> How can i get a name as a NSString of a Class Object?
>
> ex:
>
> Class _someClass = (Class )NSButton;
> NSString* _className = [ _someClass ???? ];
Just an FYI... the use of underscore for instance variables should be
consider reserved for the use by Apple when working with Cocoa objects.
See Apple's Cocoa coding guidelines...
<http://developer.apple.com/documentation/Cocoa/Conceptual/
CodingGuidelines/index.html>
...in particular...
<http://developer.apple.com/documentation/Cocoa/Conceptual/
CodingGuidelines/Articles/NamingIvarsAndTypes.html#//apple_ref/doc/uid/
20001284/BAJGIIJE>
-Shawn
DATE : Mon Nov 22 20:43:28 2004
On Nov 22, 2004, at 9:42 AM, <email_removed> wrote:
> How can i get a name as a NSString of a Class Object?
>
> ex:
>
> Class _someClass = (Class )NSButton;
> NSString* _className = [ _someClass ???? ];
Just an FYI... the use of underscore for instance variables should be
consider reserved for the use by Apple when working with Cocoa objects.
See Apple's Cocoa coding guidelines...
<http://developer.apple.com/documentation/Cocoa/Conceptual/
CodingGuidelines/index.html>
...in particular...
<http://developer.apple.com/documentation/Cocoa/Conceptual/
CodingGuidelines/Articles/NamingIvarsAndTypes.html#//apple_ref/doc/uid/
20001284/BAJGIIJE>
-Shawn
| 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

