Re: [Pyobjc-dev] Altered classes
Brought to you by:
ronaldoussoren
|
From: Bill B. <bb...@CO...> - 2001-05-11 13:23:40
|
Deirdre,
Quick question; shouldn't "loadNibNamed_owner" be
"loadNibNamed_owner_" in this context?
b.bum
On Friday, May 11, 2001, at 04:10 AM, Deirdre Saoirse Moen wrote:
> 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. :)
> _______________________________________________
> Pyobjc-dev mailing list
> Pyo...@li...
> http://lists.sourceforge.net/lists/listinfo/pyobjc-dev
|