discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Differences between Gnu-step and Cocoa


From: David Chisnall
Subject: Re: Differences between Gnu-step and Cocoa
Date: Sun, 9 Dec 2007 17:03:20 +0000

Hi Tommy,

There is a list of current API compatibility somewhere, but I can't find it at the moment. A good few rules of thumb are:

- Try to stick to Foundation and AppKit. A few other frameworks, like AddressBook, also work, but are external to the core GNUstep distribution.

- Anything that says 'OS X 10.0 or later' in Apple's documentation is likely to work. Anything that says 10.5 or later probably won't work. For 10.1 to 10.4, the probability gradually drops. As such, it's best to try to stick to 10.0 stuff and test other things on GNUstep before relying on them.

- Reading nib files on GNUstep is still somewhat hit and miss. Some things work perfectly, some fail weirdly. If you are encountering strange bugs, try redrawing your nibs in gorm.

You may also find some slight inconsistencies between GNUstep and Cocoa. For example, the NSFileManager method for creating a directory on Cocoa requires the parent directory to exist, but on GNUstep will create all intervening directories if they are missing (Leopard introduces a new method for doing this).

David

On 9 Dec 2007, at 15:33, Tommy Nordgren wrote:

I'm considering writing a (GUI) application as open-source on Mac OS X Leopard. I'm wondering if there is any document available that describes the differences between the Cocoa API on Mac OS X, and the Gnu-step API. If possible, I want to write my code
so that it is easily portable to other operating systems.
------------------------------------------------------
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
tommy.nordgren@comhem.se




_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep





reply via email to

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