[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSViewController; loading views from nibs
From: |
Fred Kiefer |
Subject: |
Re: NSViewController; loading views from nibs |
Date: |
Mon, 24 Jan 2011 12:44:23 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11 |
Am 23.01.2011 23:31, schrieb Ivan Vučica:
> On Sun, Jan 23, 2011 at 16:27, Ivan Vučica <ivucica@gmail.com> wrote:
>> in Zcode, I've implemented editors as subclasses of NSViewController. Their
>> UI is loaded from nib by making use of initWithNibName:bundle: inherited
>> from NSViewController. This works great on Cocoa, but porting back to
>> GNUstep, I discovered NSViewController does not exist in Debian, that in
>> current GNUstep it seems strangely devoid of smart code in
>> initWithNibName:bundle:, and that I can't figure out what is the intended
>> way to load view from nib.
>
> I read a bit of Apple docs and figured out how loading from nibs is done. I
> added support in Zcode, and prepared a patch for GNUstep GUI. It's clumsy
> but works for my needs.
I submitted a patch similar to yours. This class will still need some
work to be truly useful.
Fred