[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cross platform question
From: |
Riccardo Mottola |
Subject: |
Re: cross platform question |
Date: |
Fri, 15 May 2020 13:37:59 +0200 |
User-agent: |
Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 SeaMonkey/2.53.2 |
Hi,
Andreas Fink wrote:
If you want to write new apps running on MacOS X & GNUstep, what would you use
to create the nib/xib/storyboard stuff which Xcode manages normally for you?
Handcoded source files? or is there an easier way.
there are several approaches... use nib or xib files or a mix of gorm files
Or resort to Reinaissance.
My current approach is
- use older IB of 10.5 or 10.6 and save nib and xib files
- remake all relevant parts of the interface in Gorm
- leave some minor stuff in nibs
I prefer native Gorm interfaces, they consistently look better than any
NIB opened. More work, but gives the real "NeXT look" as well as refined
pixel positioning.
Some interfaces do not need this, if NIB works well enough, leave it!
It is convenient that you can open the NIB file in Gorm, fix it save it
as gorm.
I do this for all my new Apps (e.g. StepSync, FTP...).
For some old app I did reverse, but Gorm is better at NIB->GORM
conversion than GORM->NIB, since I created NIBs that would hang the mac
or even IB itself!
I am slowly transitioning GNUMail to this approach.
The old approach was worse in my opinion: it used 100% code for GNUStep
and then added NIB files for Mac.... a hell to maintain and debug sometimes.
RIccardo