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

Class CFStr

      object --+        
               |        
runtime.ObjCBase --+    
                   |    
runtime.ObjCInstance --+
                       |
                      CFStr
Known Subclasses:

Python wrapper for the ObjC CFString class, creating retained instances, by default.

Instance Methods
 
__str__(self)
str(x)

Inherited from runtime.ObjCInstance: __getattr__, release, set_ivar

Inherited from runtime.ObjCBase: __repr__

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

Static Methods
a new object with type S, a subtype of T
__new__(cls, ustr)
New CFStr.
Properties
  value
Get the original CFStr value (str).
  str
Get the original CFStr value (str).

Inherited from runtime.ObjCInstance: Type, objc_class, objc_classname, objc_description, ptr

Inherited from object: __class__

Method Details

__new__(cls, ustr)
Static Method

 

New CFStr.

Parameters:
  • ustr - The string value (str or bytes).
Returns: a new object with type S, a subtype of T
The string (CFStr).
Overrides: object.__new__

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)

Property Details

value

Get the original CFStr value (str).

Get Method:
value(self) - Get the original CFStr value (str).

str

Get the original CFStr value (str).

Get Method:
value(self) - Get the original CFStr value (str).