When we write C or Objective-C programs we can divide those programs into smaller blocks of code, each of which performs a certain task. In this post, we take a look at the concept of functions.
Primitive Data Types in Objective-C
When we look at the multitude of different apps available for the various iOS platforms it is easy to forget that at their core, the various Apple devices all work in binary. We as humans don’t think this way though and in order for us to program computers systems efficiently, we need a intermediate language […]
When we write our iOS apps we often need a temporary place in which to store the data used within the app. Whether it be a finance app needing to store the current balance in a bank account, a game that needs to store the position of a player’s character on the screen or a music app storing a user’s playlist, all these applications use the same mechanism: variables.
Objective-C Code Comments
Code comments are annotations that you can add to that help with improving the readability of your source code and also help other programmers understand what you were trying to achieve when you were writing it. In this post, we take a look at how to write them in Objective-C.
A Walk-Through of Your First Objective-C Application
In this post we take a step-by-step walk-through of our project form the last post. During the course of our post we have our first major exposure to Objective-C, and talk about some of its basic features such as comments, importing and functions.
The Problem of Recursive Includes
In this post we take a look at the problem of recursive includes within the C Programming Language and examine how this problem is avoided in Objective-C through use of the #import statement.