(cls, name, method)
return classAddMethods(cls, [sel])
Add a single method to a class. 'name' is the ObjC selector
Add a single method to a class. 'name' is the ObjC selector
Add a single method to a class . name is the ObjC selector
def classAddMethod(cls, name, method):
    """
    Add a single method to a class. 'name' is the ObjC selector
    """
    if isinstance(method, selector):
        sel = selector(method.callable,
                    selector=name,
                    signature=method.signature,
                    isClassMethod=method.isClassMethod)
    else:
        sel = selector(method, selector=name)

    return classAddMethods(cls, [sel])
def classAddMethod ( cls , name , method ) : if isinstance ( method , selector ) : sel = selector ( method . callable , selector = name , signature = method . signature , isClassMethod = method . isClassMethod ) else : sel = selector ( method , selector = name ) return classAddMethods ( cls , [ sel ] )