discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSViewController; loading views from nibs


From: Ivan Vučica
Subject: Re: NSViewController; loading views from nibs
Date: Sun, 23 Jan 2011 23:31:09 +0100


On Sun, Jan 23, 2011 at 16:27, Ivan Vučica <ivucica@gmail.com> wrote:
Hi,

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.


--
Regards,

Ivan Vučica

Attachment: nsviewcontroller.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]