Weekly bite-sized screencasts on iOS development.
Episode #198 | 8 minutes | published on 11/19/2015Subscribers Only
In this episode we start a new series on building the NSScreencast tvOS application. We'll start off by creating the Xcode project, initialize our Gemfile and Podfile for dependencies, as well as talk about a few ways of getting around issues where a 3rd party library doesn't indicate that it supports tvOS yet.
Episode #197 | 18 minutes | published on 11/16/2015Subscribers Only
In this episode we take a deep look at how focus works with tvOS. We learn how to use UIFocusGuide to redirect focus when the engine cannot find an appropriate element to focus. We also learn some debugging tricks on how to visualize focus moves using Quick Look, and how to use _whyIsThisNotFocusable to troubleshoot lack of focus. Finally we'll learn about custom focus animations and layered images.
Episode #196 | 15 minutes | published on 11/06/2015Subscribers Only
In this episode we take our missile animation from last time and update it to use CAAnimations. Using these animations we can add a wiggle, along with a small oscillating rotation to give a little life to the missile. Then we utilize CAReplicatorLayer to have them fan out and fire in slightly different directions.
Episode #195 | 12 minutes | published on 11/05/2015Subscribers Only
In this episode we dive into tvOS, creating a spaceship dashboard application, complete with animated rockets and a crew list. Ludicrous speed, go!
Episode #194 | 6 minutes | published on 10/29/2015Subscribers Only
In this episode we talk about modeling API Endpoints as first class types, rather than relying on strings and string interpolation scattered across your application. For this we'll leverage Swift enums with associated values.
Episode #193 | 17 minutes | published on 10/15/2015Subscribers Only
In this episode we take a look at how to provide deep search in our iOS applications. We start by leveraging NSUserActivity to provide relevant search results for recent activities to users. Then we look at how to customize the search results with rich metadata. Finally we look at using CoreSpotlight to fully index the content to make it available for search after we launch our app.
Episode #192 | 14 minutes | published on 10/08/2015Subscribers Only
Supporting Handoff in your iOS / Mac applications can really delight users. In this episode we will build handoff support into an application so that users can continue their task on the web, or in a separate Mac application that is registered to handle that task.
Episode #191 | 14 minutes | published on 10/08/2015Free Video
In this free episode, we take a look at a core Swift 2 feature: Optionals. Unlike Objective-C, where nil is considered a no-op, in Swift nil is specifically recognized by the compiler, which forces you to handle cases where nil might be present in a variable.
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.