Package pycocoa :: Module nstypes :: Class NSString
[frames] | no frames]

Class NSString

          object --+        
                   |        
runtime.ObjCInstance --+    
                       |    
                CFString --+
                           |
                          NSString
Known Subclasses:

Auto-released version of the CFString class.

Instance Methods

Inherited from CFString: objc_classname

Inherited from runtime.ObjCInstance: __getattr__, __repr__, set_ivar

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods
a new object with type S, a subtype of T
__new__(cls, ustr)
Create a new ObjCInstance or return a previously created one for the given object_ptr which should be an Objective-C id.
Class Variables

Inherited from runtime.ObjCInstance: objc_class, ptr

Properties

Inherited from object: __class__

Method Details

__new__(cls, ustr)
Static Method

 

Create a new ObjCInstance or return a previously created one for the given object_ptr which should be an Objective-C id.

Returns: a new object with type S, a subtype of T
Overrides: object.__new__
(inherited documentation)