by Dj Sison | Oct 9, 2013 | iOS Development
In the post “iOS: Defining a fixed or constant width or height constraint programmatically” , we programmatically added constraints that will ensure a fixed with and height for a view. This time, we will programmatically add constraints that will... read more
by Dj Sison | Oct 7, 2013 | iOS Development
I had a project where we display a UIWebView, where on failure to load, an alert will be displayed informing the user of the error. This is a bit troublesome, since there are lots of UIWebView errors, and we cannot handle all of them immediately. Silently ignoring the... read more
by Dj Sison | Oct 7, 2013 | iOS Development
In iOS 5 and below, to customize the background color and text color of a UITableView’s header or footer, we needed to create a custom UIView then return it from the following delegate methods: - (UIView *)tableView:(UITableView *)tableView... read more
by Dj Sison | Oct 4, 2013 | iOS Development
When loading URLs for UIWebView, I usually do it like this: 1. I get the path for my resource, then pass this to other functions. NSString *htmlPath = [[NSBundle mainBundle] pathForResource:@"about" ofType:@"html"]; 1 NSString *htmlPath = [[NSBundle mainBundle]... read more
by Dj Sison | Sep 26, 2013 | iOS Development
4-part series from Mike Ash: http://www.mikeash.com/pyblog/friday-qa-2009-08-28-intro-to-grand-central-dispatch-part-i-basics-and-dispatch-queues.html... read more
by Dj Sison | Sep 26, 2013 | iOS Development
This post demonstrates how to use UIScrollView with Auto Layout. The Scroll View will contain one smaller view. In my example, I will be using a UIImageView as the sole content of the scroll view. If you need a multiple views inside the Scroll View, please refer to... read more