Two Ways to Convert JSON String into NSDictionary

JSON is a very simple format for HTTP transaction between app and backend server. Currently, most of public API return data in JSON format, such as Google API. In IOS, there are several ways to convert the JSON String into Object-C object. Usually, the JSON data will be converted into NSDictionary object. Here are two pieces of example source code to convert JSON data into object in IOS.
Read more

Create a Simple IOS App with PhoneGap (Cordova)

As the project requirement, I will start to use PhoneGap to create a IOS app from scratch. This is my first time to use PhoneGap. Here is my understand about PhoneGap. First, PhoneGap is officially renamed as Apache Cordova. It is a framework to help you create IOS app, Android app, or even Windows Phone app from HTML5 and Javascript. For people who knows HTML5 and Javascript, this is a great tool to help to create native apps from HTML and JS. In this article, I will tell you how to create an IOS app by PhoneGap (Cordova) from beginning.

Read more

iOS Tutorial Save Data in Core Data

In last tutorial, we successfully create a new iOS project with Core Data Framework. We also design a Managed Object Model in the Xcode data model design tool and automatically generate the classes associated with the entities in the model. So, in this post, we will continue doing the app and I will show you how to initialise the managed object model in the app and how to save save data by core data.
Read more