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]...
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...
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...
by Dj Sison | Sep 24, 2013 | iOS Development
When using Auto Layout, it will be inevitable that you would also want to animate views where constraints are used. Here’s a guide on how to animate Auto Layout constraints in iOS. First, get a reference to the layout constraint. You can do this in the...
by Dj Sison | Sep 21, 2013 | iOS Development
In my projects, if I need an object which can be accessed globally, we create a Singleton manager object for it. And most of the time, it has to do with Settings. The following code demonstrates a safe way to declare singleton objects: + (SettingsManager...