[Pyobjc-dev] Altered classes
Brought to you by:
ronaldoussoren
|
From: Deirdre S. M. <de...@de...> - 2001-05-11 08:10:55
|
I'm not sure I'm going about the hack, slash and burn right, but it
sure seems that ObjC classes that are defined in one framework and
altered in another do not correctly have their methods updated.
An example: In the Foundation framework, NSBundle is defined and,
given Steven's example, those known methods of NSBundle seem to work.
In the AppKit framework, NSBundle is extended to add several methods,
which don't seem to work. An example:
Nib = rt.NSBundle.loadNibNamed_owner("MainMenu.nib", Doc)
...doesn't work, but...
foundationKit = rt.NSBundle.bundleWithPath_(
'/System/Library/Frameworks/Foundation.framework').load()
...does.
Furthermore, I can't seem to get it to want to list all of NSBundle's
methods, so I'm not sure I'm asking for the right thing.
Any help in reducing the pain of beating my head against the wall
will of course reduce the amount of codeine this process is
consuming. :)
|