discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Loading xibs


From: Fred Kiefer
Subject: Re: Loading xibs
Date: Wed, 11 May 2011 11:04:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10

As I expected, I cannot compile your code as it uses properties and my gcc 4.5.1 doesn't support them.

What I could detect is that one of your XIB files was produced by a rather new version of XCode and has the XIB version 8.00. This version seems to have added the two element types "array" and "dictionary" as short cuts for these two classes. I added support of these into our GSXibLoader. Not sure whether that was your problem and if this is solved now. But if the loading of NIB files already fails, then I expect that your problem is on a different level.

As you didn't share any information about that, I will have to wait for a version of gcc that supports properties and try again at that time.

Fred


On 02.05.2011 20:32, Ivan Vučica wrote:
NHF = No hard feelings

Okay then. I hope Zcode's xibs can help out a bit with testing whether things 
work.

On 2. svi. 2011., at 20:23, Gregory Casamento wrote:

Xib loading is still in the experimental stage, I'm still working on
it.   Also 3.0 nibs lack certain things which 2.0 nibs had... so there
is still some work to do on both fronts.

Also NHF? I'm not sure what that means.

GC

2011/5/2 Ivan Vučica<ivucica@gmail.com>:
Hi!

Yesterday, after being slightly frustrated by Gorm (NHF Greg :)) in Zcode I 
attempted to load xibs instead of gorm files. I also attempted to use nibs from 
the compiled build of the app from OS X.

Neither worked.

Is someone more intimate with xib loading code willing to take a look at the 
issues? The source code is available in a Mercurial repository, all that you 
would need to change is GNUmakefile. You'd have to replace references to .gorm 
files with references to .xib files:

hg clone https://bitbucket.org/ivucica/zcode/ zcode

A few notes about Zcode:
- Compiling is done in a standard way: ./configure, make.
- Project makes heavy use of Objective-C 2.0 and is most recently tested with 
GCC 4.6 on Debian
- I'm making use of NSViewControllers, I have several top level objects, I have 
an outline view with images, I have tons of autoresizing, ...

GNUstep libraries that i used: svn r32902




reply via email to

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