pyobjc
pyobjc copied to clipboard
The Python <-> Objective-C Bridge with bindings for macOS frameworks
A number of Apple frameworks use vector/SIMD types, both as arguments/return values and in structures. These aren't supported by PyObjC at the moment, neither are they supported by libffi. A...
**Describe the bug** Discovered in pypa/distutils#165, adding `pyobjc` to the dependencies of the project caused the builds on macOS on Python 3.11 to start failing ([example](https://github.com/pypa/distutils/runs/7703160074?check_suite_focus=true)). **Platform information** * Python...
**Describe the bug** Using pyobjc via `launchd` does not behave as expected. For example, normally ```sh $ python3 -c 'import AddressBook as ab; print(len(ab.ABAddressBook.sharedAddressBook().people()))' 100 ``` However, if the command...
**Is your feature request related to a problem? Please describe.** The project I am working on uses PyQt for its GUI. I want to make `acceptsFirstMouse_` return `False` (it currently...
**Describe the bug** I wouldn't want to put this completely as a bug per se, but I have modeled after the pyobj-c examples exactly to the best of my ability,...
**Describe the bug** I send a notification with the __[User Notifications framework](https://developer.apple.com/documentation/usernotifications?language=objc)__ (UNNotification* superclass) and python crashes, looking like this: It *does not* crash Pycharm or interrupt the notification from...
Recent versions of macOS have a UIKit.framework next to the older AppKit.framework for GUIs. Investigate what's needed to provide bindings for this. Open questions: * Can UIKit.framework be used from...
See #482 for an example where this causes an issue. It might be possible to detect if ObjC tries to call into Python after the interpreter has shut down and...
If I do something like this: ``` GSHint = objc.lookUpClass("GSHint") GSHint.isCorner = property(lambda self: self.pyobjc_instanceMethods.isCorner()) ``` it throws this: ``` AttributeError: Cannot replace selector 'isCorner' in 'GSHint' by non-selector ```...