[fpc-pascal] Small OSX GUI apps
jonas.maebe at elis.ugent.be
Tue Sep 16 00:18:04 CEST 2008
On 15 Sep 2008, at 21:52, Jon wrote:
> I use KOL (http://kolmck.net) with FPC on Win32 to produce small
> (exe size) gui applications.
> I am a complete newbie to all things Mac and OSX.
> Is there a similar framework available for OSX?
Not that I'm aware of.
> Are any *simple* examples available for creating OSX gui apps?
There's one here (using Carbon): http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/univint/examples/
> Also, what is the difference between Carbon, Cocoa, etc
Any answer to that which is not a 10 page article or so will by
definition be overly simplistic. Carbon is a procedural framework
offering a rich api for creating Mac programs, Cocoa an Objective-C
based framework offering a rich api for creating Mac (and NeXTStep/
GNUStep) programs. They largely overlap in terms of offered
functionality, and are partially implemented on top of one another
(and hence, no strict delimiting is possible of what functionality
exactly is Carbon and what exactly is Cocoa).
> - and which is best?
Depends on who you ask. But Apple has made it clear that they want to
move forward primarily with Cocoa.
More information about the fpc-pascal