Front page | perl.macosx |
Postings from August 2001
Re: Cocoa interfaces
Thread Previous
|
Thread Next
From:
Jeff Lowrey
Date:
August 26, 2001 10:44
Subject:
Re: Cocoa interfaces
Message ID:
p05010400b7aee2e08f46@[192.168.136.45]
At 9:56 AM -0500 8/26/01, Ken Williams wrote:
>jeff@firepower.jaral.org (Jeff Lowrey) wrote:
>>At 11:20 PM -0500 8/25/01, Ken Williams wrote:
>>>christian.jaeger@sl.ethz.ch (Christian Jaeger) wrote:
>>>>How to access cocoa through plain C?
>>>
>>>That's the million dollar question, I haven't heard an answer yet.
>>
>>And yet, I've seen the answer somewhere.
>
>ARGH! I misread the question for some odd reason, and I thought
>Christian was asking about accessing Cocoa through Perl.
Well, he was. But probably a reasonable way to go about that is
through xs, which is to say through C.
One could even hope that creating Cocoa interfaces for Perl would be
as straightforward as creating a template for h2xs, building from the
sample code I referenced previously.
But I suspect it's slightly trickier than that, particularly given
the (what seem to me to be) intricacies of when to retain and when to
copy objects. But I'm not a real Cocoa programmer yet.
-Jeff Lowrey
Thread Previous
|
Thread Next