[Top][All Lists]

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

Re: porting cocoafibs, trouble with nibs

From: Fred Kiefer
Subject: Re: porting cocoafibs, trouble with nibs
Date: Sat, 16 Sep 2006 14:13:24 +0200
User-agent: Thunderbird (X11/20060725)

Nice thing that you are doing here. Your main problem seems to be that
GNUstep currently does not support NSController and its subclasses (in
your case NSUserDefaultsController). With that missing your NIB file
will never work, which ever way you convert it.
I see two ways to proceed: Either you manage to remove the need for that
class from the original NIB file or we need to add that class somewhere.
I have some basic implementation for some of the controller classes
lying around here, but I never committed them to GNUstep as not to bloat
our code with unused classes.


Paddy Smith schrieb:
> we are attempting to port cocoafibs
> (http://sourceforge.net/projects/cocoafibs/) to gnustep at
> http://sourceforge.net/projects/stepfibs/
> converting the nib files is giving us trouble.
> One of them, the Invite nib will go through nib2gmodel.  the resulting
> gmodel will load in gorm (1.1.0 built against the gnustep in debian
> sid). the nib that gorm emits from that will not load in the macosx IB
> (xcode2.4), giving the error "-[NSPlaceHolderMutableString
> initWithString]: nil argument "
> which is interesting because trying to load the macosx nib directly
> (saved out to xml) in gorm results in the error "Exception
> -initWithSring: given nil string".
> There are errors with other nibs like "no class for name
> 'NSUserDefaultsController'".
> [incidentally, it would be really nice to be able to cut'n'paste these
> errors off the gorm gui]
> the original source in question can be got from the cocoafibs cvs on
> sourceforge, but the nibs there are in the binary format. I have
> posted the macosx IB output of those nibs in the xml format and the
> Invite nib output from gorm mentioned above on the stepfibs
> sourceforge under Files.
> So, help, suggestions, advice, encouragement, etc. all gratefully
> received :-)
> What do people suggest: should we stick with nibs, or use renaissance,
> or something else ?
> Any suggestions on how to convert nibs to renaissance?  is there a
> program to do this ?

reply via email to

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