I’ve tagged and uploaded PyObjC 10.3 to PyPI. This is a fairly substantial update feature wise: It is now possible to instantiate most classes using the regular Python convention instead of Objective-C’s explicit two-step construction.
That is, NSObject()
is now a valid alternative to NSObject.alloc().init()
.
The basic idea is that all init
selectors are translated into sets of acceptable keywords for instantation, see PyObjC’s docmentation for more details.
This is a first step towards adding more Pythonic method name aliases to PyObjC