objc

NXConstantString.h
Go to the documentation of this file.
1 
8 #pragma once
9 #include "Object.h"
10 
21 @private
22  const char *_data;
23  unsigned int _length;
24 }
26 
31 - (const char *)cStr;
32 
37 - (unsigned int)length;
38 
39 @end
40 
41 #ifdef __clang__
42 
49 @compatibility_alias NSString NXConstantString;
50 #endif
unsigned int length()
Returns the length of the constant string.
A constant string class.
const char * cStr()
Returns the C-string representation of the constant string.
Protocol for constant string objects.
The root class of all Objective-C classes.
Definition: Object.h:18
The root class of all Objective-C classes.