Package pycocoa :: Module runtime :: Class ObjCClass
[frames] | no frames]

Class ObjCClass

object --+
         |
        ObjCClass

Python wrapper for an Objective-C class.

Instance Methods
 
__getattr__(self, name)
Returns a callable method object with the given name.
 
__repr__(self)
repr(x)
 
get_classmethod(self, name)
Return a Python representation of the named class method, either by looking it up in the cached list of methods or by searching for and creating a new method object.
 
get_method(self, name)
Return a Python representation of a named instance method, either by looking it up in the cached list of methods or by searching for and creating a new method object.

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, name_or_ptr)
Create a new ObjCClass instance or return a previously created instance for the given Objective-C class.
Class Variables
  name = ''
  ptr = None
Properties

Inherited from object: __class__

Method Details

__new__(cls, name_or_ptr)
Static Method

 

Create a new ObjCClass instance or return a previously created instance for the given Objective-C class.

The argument is either the name of the class to retrieve or a pointer to the class.

Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)