Re: Class name
Re: Class name
- Subject: Re: Class name
- From: Shawn Erickson <email@hidden>
- Date: Mon, 22 Nov 2004 11:43:28 -0800
On Nov 22, 2004, at 9:42 AM, email@hidden 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
_______________________________________________
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