Core Data for iOS: Part 1 – Data model

In the Model-View-Controller pattern, which is the base of any iOS app design, the Model component plays an essential role. It represents the data on which the app operates. The user indirectly interacts with it through the View component of the MVC, while the Controller mediates the communication between the Model and the View. Core Continue reading…

 

Collection view with self-sizing cells

This article is the logical continuation of the blog post I’ve written last week about the self-sizing cell in tableviews. This time we will take a close look at the auto-adapting cells in collections views. The sample project is available for download on GitHub. Before going further, you should know that self-sizing cells are supported Continue reading…

 

Table view and size-adapting cells

Table views are one of the most commonly used UI components in iOS apps. They usually display text with varying lengths. Prior to iOS7, developers had to calculate the height of each cell to accommodate to its content, and provide it in the table view delegate method -tableView:heightForRowAtIndexPath:. Now the cells self-sizing behavior can be Continue reading…