Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-24-2009, 03: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
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,301
Threads: 39,102
Posts: 171,430
Top Poster: smasher (2,575)
Welcome to our newest member, alekssebasstrs
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:07 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.