Up to [cvs.NetBSD.org] / pkgsrc / devel / py-pyobjc-framework-StateReporting
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-pyobjc*: updated to 13.0
13.0
Main features
Framework bindings updated for macOS 27 SDK
Add support for the following frameworks (all new in macOS 27):
LinkSecurity
StateReporting
objc.formal_protocol can now be used as an additional base class
to indicate that a class implements a protocol.
The following two definitions are equivalent:
class MyClass(NSObject, protocols=[NSFilePresenter]):
...
and:
class MyClass(NSObject, NSFilePresenter):
...
The formal protocols that are used as a base class do not end
up in the MRO, but will be added to __pyobjc_protocols__.
Mixing the two definition styles is supported as well, although
this will lead to less understandable code.
Introduce a objc.bound_selector for bound
selector objects.
In previous versions bound selectors used the same type as
unbound selectors (objc.python_selector or
objc.native_selector).
Using a separate bound selector results in slightly better
performance due to not creating the bound selector object
during regular method calls.
A objc.bound_selector is a subclass of objc.selector,
just like the other two classes and has the same attributes
as the selector value it binds. The only user-visible behaviour
change w.r.t. previous versions is that it is no longer
possible to test the flavour of a bound selector using
and isinstance check.