Weekly bite-sized screencasts on iOS development.
Episode #190 | 15 minutes | published on 10/01/2015Subscribers Only
In this episode we look at how to create a custom NSURLProtocol to intercept and alter a network request. This can be useful to provide application-wide interception & logging of network requests, alter requests to change parameters or add authentication, sign requests, or to handle custom url schemes.
Episode #189 | 15 minutes | published on 10/01/2015Free Video
In this free episode, Ben explores Swift 2 functions, how argument labels work, returning tuples, the guard clause, as well as extending behavior on core types.
Episode #188 | 17 minutes | published on 09/24/2015Subscribers Only
In this episode we take a look at App Transport Security, which contains new secure-by-default behavior for NSURLSession, NSURLConnection, or any other CFNetwork-based API. We'll see how to diagnose ATS errors, what the recommended settings are, and how to relax the requirements if needed to allow our network connections to be made.
Episode #187 | 17 minutes | published on 09/17/2015Free Video
In this episode we take a look at Swift 2's basic types such as Int, Double, Bool, Array, and Dictionary. This episode is part of a series covering Swift 2 from a beginner's perspective.
Episode #186 | 10 minutes | published on 09/17/2015Subscribers Only
In this episode we talk about one of the coolest new additions to iOS 9: UIStackView. We'll see how to use Interface Builder in Xcode 7 to set up stack views, adjust distribution and alignment, as well as nested multiple stack views for more complex layouts.
Episode #185 | 18 minutes | published on 09/04/2015Subscribers Only
In this episode we'll learn how to implement self-sizing table view cells in iOS 8. We'll also see what the oft-ignored Compression Resistance Priority and Content Hugging Priority are used for, and finally how to implement dynamic type in our application to support dynamic text sizes.
Episode #184 | 9 minutes | published on 08/27/2015Subscribers Only
In this episode we take a look a DZNEmptyDataSet, a useful library for providing a more inviting UI when you have no content to display inside of a table view or collection view. We'll also see how to leverage NSAttributedString to provide styling of the text that is displayed on the screen.
Episode #183 | 20 minutes | published on 08/20/2015Subscribers Only
Sam Soffes continues building a screen saver, this time showing us how to add a Preferences window to the app as well as exporting and installing it as a real screen saver in the system.
Episode #182 | 16 minutes | published on 08/13/2015Subscribers Only
In this episode Sam Soffes walks us through creating a screen saver for OS X. In order to develop it and see the results quickly, he starts by creating a preview Mac app to show what the screen saver will look like.
Episode #181 | 16 minutes | published on 08/06/2015Subscribers Only
In this episode we take a look at CGImageSource from the ImageIO framework. Using CGImageSource we can perform operations like resize without loading the entire image into memory. In addition, we can extract image metadata like f-stop, aperture, ISO, and camera/lens information.
Episode #180 | 14 minutes | published on 07/30/2015Subscribers Only
In this episode, Ben continues exploring NSOperation-based architecture, this time writing operations that present UI for a login screen, load the Core Data stack, and operations that are composed of multiple lower-level operations.
Episode #179 | 15 minutes | published on 07/27/2015Subscribers Only
Sam Soffes joins us again to talk about supporting Carthage for your own libraries. In the demo, you'll also see how to structure a project to include both Mac and iOS framework targets with a single Xcode project.
Episode #178 | 14 minutes | published on 07/23/2015Subscribers Only
In this episode we welcome our first ever guest screencaster, Sam Soffes! Sam takes us through what it takes to get started with Carthage to manage dependencies. Sam compares Carthage's approach to CocoaPods and walks through how to bring in a 3rd party library into a project.
Episode #177 | 11 minutes | published on 07/09/2015Subscribers Only
In this episode we discuss dependent NSOperations. Using dependencies you can queue up a bunch of jobs and they will be run in the correct order, having one provide the necessary state for the next one to run. In the example, we take the large Hubble image, scale it down to a more appropriate size, then apply a Core Image filter to it. Each operation is dependent on the one before it, yet they are all queued up at the same time.
Episode #176 | 17 minutes | published on 07/03/2015Subscribers Only
In this episode we examine the asynchronous (a.k.a concurrent) type of NSOperation where we are doing things that involve callback blocks or delegates.
Episode #175 | 17 minutes | published on 06/26/2015Subscribers Only
In this episode we take a look at the basics of NSOperation, NSOperationQueue, starting from block operations and moving to custom NSOperation subclasses. We'll also see why it's important to make your operations thread safe.
Episode #174 | 23 minutes | published on 06/18/2015Subscribers Only
In this episode we cover local notifications in iOS 8. We cover the difference between count-down style notifications and time-zone based notifications. We also discuss how to add actions to the notifications and handle those in your application.
Episode #173 | 17 minutes | published on 06/11/2015Subscribers Only
In this episode we take the Magic Move transition from last week's episode and make interactive, so that you can feel the transition along with your swipe.
Episode #172 | 29 minutes | published on 06/04/2015Subscribers Only
In this episode we'll create a custom view controller animation that mimics the Magic Move behavior from keynote, taking one object and animating into its place on the next slide (or view controller).
Episode #171 | 10 minutes | published on 05/29/2015Subscribers Only
In this episode we examine how we can leverage the NSDateComponents class to convert a set of individual date parts like month, day, year into an actual NSDate