Tag: iPhone

Objective-C Tutorials

How to show and hide (toggle) UITableview sections on the fly

Some time ago I had written a post about how to use UITableView cells and make them work as a drop-down list. Anyone who had read that post might understood that when working with UITableViews you can do things more than the usual and common ones, and you can go as far as your imagination and the technology let you go. Indeed, when knowing how to work with UITableViews in a more advanced level, then you can create more flexible apps that make your users happier.

Keep Reading...
Objective-C Tutorials

UIPickerView – Add it programmatically

It is often needed to give the user the ability to choose among various options when creating an application. In that case, the UIPickerView it’s a nice (and many times the best) choice to do that. The UIPickerView can be easily created using the Interface Builder, but unfortunately Apple doesn’t allow us to change its height through IB. Besides that, sometimes there is the need to create it and place it on-screen manually (programmatically) for a lot of reasons.

Keep Reading...