Adds a class translation mapping to the receiver whereby instances of of a given class are encoded with a given class name instead of their real class names.
Original signature is '- (void)setClassName:(NSString *)codedName forClass:(Class)cls'
Available in Mac OS X v10.2 and later.
Declaration Syntax
public virtual void SetClassNameForClass(
NSString codedName,
Class cls
)
Public Overridable Sub SetClassNameForClass ( _
codedName As NSString, _
cls As Class _
)
public:
virtual void SetClassNameForClass(
NSString^ codedName,
Class^ cls
)
Parameters
- codedName (NSString)
- The name of the class that the receiver uses uses in place of cls.
- cls (Class)
- The class for which to set up a translation mapping.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)
Assembly:
Monobjc.Foundation (Module: Monobjc.Foundation)