On Sunday, Feb 2, 2003, at 18:40 Europe/Amsterdam, bbum@... wrote:
> On Sunday, Feb 2, 2003, at 12:17 US/Eastern, Martina Oefelein wrote:
>> Hi Bill,
>>> Most constants should be bridged and are available directly in the
>>> AppKit namespace.
>>> There may be some that slipped through the cracks. If you have
>>> specific examples, please let us know!
>> I have an example: All AddressBook constants.
> Ahh... those aren't Cocoa constants. :-)
> The AddressBook constants are not currently bridged, but the address
> book API is still quite usable.
> See Examples/addressbook.py.
> Ronald: should we go ahead and auto-generate the source to cover all
> of AB's compiled constants? This would require creating
> yet-another-module. Maybe AddressBook should be moved out of PyObjC
> and into its own project given that most apps will not use the AB API?
Generating the constants shouldn't be too hard. We could even generate
a pure-python file (that would require an intermediate Objective-C
program, but it is easily doable).
I'd keep the module in PyObjC, maintaining it as part of PyObjC is not
much work, maintaining it seperately would IMO be a sure way to