Tag Archives: UITableViewController

Moving UITableViewCell between Sections in Grouped UITableView

UITableView contains the necessary logic to allow movement of cells (or rows) between sections in a grouped UITableView, but there appears to be a bug that prevents you from moving a row into an empty section.  There is however a workaround! The Problem Figure 1 shows how the view might appear.  Section 1 has two rows, and section 2 has… Read more »

Designing a Protocol for the Group Edit View Controller

In my last post, I decided to remove my Singleton object in preference for passing the NSManagedObjectContext around between view controllers.  In my application, I have a table view that shows a list of ‘groups’, and a view that provides the form for entering or altering the group ‘title’. The intention is to allow the user to both add new… Read more »

Revisiting the Core Data Singleton

      2 Comments on Revisiting the Core Data Singleton

Whilst I’m sure the idea of a Singleton for application wide variables is going to be good one, I must say that I’ve revisited this idea over the last couple of days, especially with the help of an article Core Data: Passing around a NSManagedObjectContext on the iPhone which helps to set the perspective (as it should be) to the… Read more »