Category Archives for UIKit

The Most Common Mistake In Using UITableViews

UITableView is one of the most important user interface objects you are using in iOS development. However, there is one common mistake in using UITableViews that could drive you crazy.

Continue reading

UIAlertController

UIAlertView and UIActionSheet are deprecated since iOS 8. The new way to go is UIAlertController, which can be configured  as an AlertView or as an ActionSheet.

Continue reading

UIPopoverPresentationController

Since iOS 9, UIPopoverController is deprecated. Time to look at UIPopoverPresentationController, which has been introduced in iOS 8.

Continue reading

Using Custom Fonts

Out of the box iOS provides you a rich set of fonts. But sometimes there is the need to add another font to your project. For example, this could be one of the Google Fonts, which are open source.  In

Continue reading

Loading a View from a XIB

Generally, there are two ways to layout views: building it in interface builder or by coding. Both ways have their applications, but in many cases the interface builder way is more comfortable. If you

Continue reading

Outsource your UITableViewDataSource!

It is very common that the controller of an UITableView is also its data source. This is the number one reason why view controllers tend to become very massive. Outsourcing the data source to an object

Continue reading