I've been using objective C for a while now, and I've started learning some of the lower level iPhone API's such as core audio. Most of these API's are in C which is confusing me a bit, I'm not sure where to put a lot of code and I don't know the rules, etc. Does anyone know where a good place to start learning this is?
Thanks, Darren.
Objective-C is slightly slower than straight C function calls because of the lookups involved in its dynamic nature.
Objective-C is the primary programming language you use when writing software for OS X and iOS. It's a superset of the C programming language and provides object-oriented capabilities and a dynamic runtime.
One of the major benefits of Objective-C is the easy access to C and C++ functions and libraries. For example, making API calls with Objective-C may feel more intuitive to C and C++ veterans.
You can write C inline inside any Objective C method. You can also define functions in a .c file and their prototypes in a .h file which you can then include into any ObjectiveC .m file and call from within Objective C code.
Does anyone know where a good place to start learning this is?
enum
s and string constants, etc.Doing these three things won't make you an expert in C, but it'll give you 90% of what you need to be able to confidently get things done with Apple's low level frameworks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With