Pull to refresh data using UIRefreshControl

Everybody is doing it these days. You have a UITableView that displays data and you want a way to tell the user to refresh it. Pulling down to refresh is the new paradigm, but it’s not exactly clear how to do that in iOS. That’s what this tutorial is all about. We’ll modify the Simple Task app we just finished, but you should easily be able apply this to any app.

Continue reading

Model-View-Controller programming pattern

After my last post about the NSOutlineView, I thought I might take a little time to explain some of the concepts behind the way the Cocoa framework works. What was probably the most difficult concept for me to get my head around when working in PHP was the idea of design/programming patterns and in particular that model-view-controller (MVC) pattern.

Continue reading