So, I just found this thread, and wanted to point out that I already
ported PyObjC to the iPhone a couple weeks ago, have been distributing
it to a rather large number of developers, and it seems to work ;P. If
you'd like more information, please go here:

http://www.saurik.com/id/5

I just wrote that article to provide more of a jumping point to "it's
already done". ;)

(Also, I'm not certain why they needed to add their own port of
libffi, as the original distribution of libffi supports ARM, and only
a few changes were needed to make to the assembler in order to support
it...)

Sincerely,
Jay Freeman (saurik)
[EMAIL PROTECTED]
http://www.saurik.com/

On Feb 22, 8:20 am, infinite8s <[EMAIL PROTECTED]>
wrote:
> > Of course, since the OP is targetting the iPhone, there's probably no
> > need to support multiple screens or capabilities ;-)  Porting any
> > minimal OpenGL Cocoa example to Python would be sufficient to get
> > started.
>
> > The story as of a week or so ago was that PyObjC hasn't yet been
> > ported to the iPhone CPU (ARM?) (which is your only possible interface
> > to Cocoa).
>
> The iphone only has a single screen (and probably graphics context). I
> was just wondering what the minimal set of interfaces I would need to
> implement to be able to use pyglet. I figured the timer interface
> (although since the iPhone is running a version of OS X it would
> likely have libc) and a single graphics context, although I'm not sure
> where to start. I was thinking of taking the Carbon interface and
> slowly stripping away the parts that weren't necessary for a full
> screen app with minimal event supoort, and then slot in the proper
> system dependent calls. I thought I could get around using pyobjc, but
> there doesn't seem to be any way to wrap Obj C code in C, which could
> then be called from ctypes. I've noticed that recent svn versions of
> PyObjC have a version of libffi targeted toward ARM processors, so
> maybe pyobjc will support the iPhone in the near future (maybe they
> are waiting for the official SDK).
>
> Naveen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to