If your app needs a date and/or time to be chosen, sometimes it is best not to have the user segue to a different View in order to accomplish this. This tutorial will demonstrate how to show and hide a Date Picker contained in a Table View Cell.
You use an UIActivityIndicatorView to indicate that something is going on. For example, that could be a calculation or a network request – basically everything that takes same time.
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.
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.
Since iOS 9, UIPopoverController is deprecated. Time to look at UIPopoverPresentationController, which has been introduced in iOS 8.
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 this post we look how you can add a custom font to your project and how you can… Continue reading Using Custom Fonts
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 layout a view in the interface builder, then it is most times associated with a view controller. But it is also possible to… Continue reading Loading a View from a XIB
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 on its own is a better solution.