iPhone support?

BlitzMax Forums/BlitzMax Programming/iPhone support?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Like I asked in another thread but was ignored, would it not be possible to write some kind of BlitzMax-to-C code converter (or to whatever the language for the iPhone in XCode is - ObjectiveC?), and then simply convert the Max code from BlitzMax into this other language and compile the whole thing from XCode to support the iPhone?

This had crossed my mind but, to be honest, I ended up thinking it would be a bit pointless: One would need to become familiar with Objective-C to write the thing yet, once familiar with Objective-C, one wouldn't need it.

Of course, if someone else had already written such a thing... :D I do find C a bit archaic and the Objective icing seems somewhat clunky (if I read the docs right there are technically no class variables but you can still fudge them; private stuff is defined by the differences in the implementation and interface files... what happened to encapsulation?!) so, sure, being able to prototype in Max and then click a button to have the equivalent Cocoa project spat out would be of value.

And y'know, the iPhone utilises OpenGL ES, so porting functionality from GLMax2D might not be too much of a stretch. On reflection a converter seems like a logical endeavour for BRL, assuming it could be monetized.