At 9:56 AM -0500 8/26/01, Ken Williams wrote:
>[EMAIL PROTECTED] (Jeff Lowrey) wrote:
>>At 11:20 PM -0500 8/25/01, Ken Williams wrote:
>>>[EMAIL PROTECTED] (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

Reply via email to