Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-24-2009, 04:26 PM   #2 (permalink)
FlyingDiver
Former NeXTStep Developer
 
Join Date: Mar 2009
Posts: 997
Default

Objective-C was originally developed as a pre-processor macro expansion enhancement to vanilla C. Everything it did was converted by the pre-processor into C. So yes, you could (and I think still can) do it all with function calls.

But the syntax to do it is very, very ugly. And you'll need to do it a lot, to make calls to all the SDK APIs. You really, really really don't want to go that route.

Now, it's not that hard to write all your own logic in C or C++, and then just do the API calls in Obj-C. Apple used to have some pretty good examples on mixed programming, at least for Mac OS X. They would probably apply to the iPhone SDKs as well.

Try poking around on the Developer Connection website for examples.

joe
FlyingDiver is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,722
Threads: 89,180
Posts: 380,502
Top Poster: BrianSlick (7,124)
Welcome to our newest member, idny99
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:46 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.