Xcode 5.1

Episode #111 | 6 minutes | published on March 13, 2014
Subscribers Only
In this episode we take a look at a couple of new features in Xcode 5.1. The first is creating your own Quick Look representations for custom objects, which can be quite a handy feature for visualizing data (such as images, locations, and paths). The second is a new Autolayout constraint in Interface Builder called "Aspect Ratio" which can further help describe your intent when laying out views with Autolayout.

Episode Links

Quick Look for your own objects

Just implement - debugQuickLookObject and return one of the supported types from the reference above.

- (id)debugQuickLookObject {
    CLLocation *location = [[CLLocation alloc] initWithLatitude:29.7628
    return location;
blog comments powered by Disqus