develooper Front page | perl.macosx | Postings from September 2001

Re: Cocoa interfaces

Thread Previous | Thread Next
From:
Craig S. Cottingham
Date:
September 18, 2001 12:45
Subject:
Re: Cocoa interfaces
Message ID:
200109181941.MAA16195@smtpout.mac.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday, September 18, 2001, at 02:05 , Andrew M. Langmead wrote:

> Assuming that Apple can not be motivated to release the XS wrappers
> around Foundation Kit and AppKit, what kind of work would be involved
> in reimplementing it? Roughly how many lines of code are in the
> original version?

Actually, I've started doing something like that -- 
specifically, an XS wrapper around CoreFoundation. It started 
out as code to read and write plists, then escalated to the 
point that I had to put it aside and get some real work done.

CoreFoundation is relatively easy, if somewhat tedious, to wrap, 
since it's straight C. I'm guessing Foundation and AppKit would 
be tougher, since they're Objective-C. What I haven't found any 
documentation for yet is how to set up the Objective-C runtime 
so it can be called from C.

I'd be happy to share what I have, preferably in a central 
location. Sourceforge, anyone?

- --
Craig S. Cottingham
cottingham@mac.com
PGP key available from: 
<http://pgp.ai.mit.edu:11371/pks/lookup?op=get&search=0xA2FFBE41>
ID=0xA2FFBE41, fingerprint=6AA8 2E28 2404 8A95 B8FC 7EFC 136F 
0CEF A2FF BE41
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

iD8DBQE7p55DE28M76L/vkERAowwAJ0dGRXICH3bmmBJUTRgA/fjxrKCeQCeLswt
ytYifRbpam12M+gXnZ2+qrU=
=rnm9
-----END PGP SIGNATURE-----


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About