Declaration of variables in different locations in Objective-C

Having worked with Objective-C you will have noticed that there are many different locations to declare instance variables and local variables. In this article, we are going to explore the different possibilities and the meaning of each case. Lets start with the header file of the class. This file looks like this: In the first

Continue reading Declaration of variables in different locations in Objective-C

Radiation mapping application (Functionality)

The radiation mapping application has been developed using the directions of the experienced Interface Analysis Centre (IAC) researchers. It is a very specific application and in order to be useful and a real tool in the hands of the user, it has to be specifically defined and designed according to their needs. The configuration screen

Continue reading Radiation mapping application (Functionality)

Radiation mapping application (Implementation)

The radiation mapping application was developed based on the iPhone 5 screen dimensions. Consequently, the layout and the size of the elements are adapted to this device. The minimum supported iOS version is the 7th. The implemented application consists of three UIViewControllers embedded in navigation controllers (fig.1). The main data structure that holds the mapping

Continue reading Radiation mapping application (Implementation)

Synchronize the execution of two different tasks (or blocks)

Sometimes we face the following problem: We have two tasks (or blocks) and we get errors because of the wrong synchonization. The reason is that the second block needs the first task to be completed. Imagine that the second task carries data processing in a NSMutableArray and this array gets data from a web service

Continue reading Synchronize the execution of two different tasks (or blocks)