Investigate options to make python_method optional

Issue #284 new
Ronald Oussoren repo owner created an issue


  1. “python_method” when the method name doesn’t match the “selector” pattern
  2. Add “objc_method” and a global and/or per-class to switch the default

Goal is to make writing code more natural, currently classes contain to many python_method decorators when mixing Python and ObjC code.

I’m leaning toward option 1, although I’m slightly worried that this makes it to easy to accidentally create a python_method. Longer term it might be better to switch the default and require the use of an objc_method decorator to register objc methods.

Comments (1)

  1. Log in to comment