code: function copyMethodList (classPtr) {
    var numMethods = ref.alloc('uint')
      , rtn = []
      , methods = objc.class_copyMethodList(classPtr, numMethods)
      , count = numMethods.deref();
  
    for (var i=0; i<count; i++)
      rtn.push(wrapValue(objc.method_getName(methods.readPointer(i * ref.sizeof.pointer)),':'));
  
    free(methods);
    return rtn;
  }
docs: Copies and returns an Array of the instance methods the given Class pointer
  implements. To get class methods, call this function with a metaclass.