Generational Analysis with the Allocations Instrument can be used to track down memory growth issues. We're going to be tracking down a memory management issue that caught us here at Big Nerd Ranch by surprise, and we'll show you what we did to solve it.
Whether you’ve never written a unit test, or are just looking for a way to add unit tests to some existing troublesome code, this video will walk you through the fundamentals of unit testing on iOS with realistic example code to help you learn how to write valuable and effective tests.
When you have a complex view controller view, sometimes it is helpful to break up the view into manageable chunks. In this video we will show how you can use container views to simplify the construction of certain layouts. After this video you will know when and how to use these container views in your applications.
Performing tasks when an application is first launched is a common practice to give users important information about the application. In this video, we will discuss one technique for implementing first launch logic, as well as how to quickly test this code.
Mobile devices are all about convenience. Users want to get the information they need from your app quickly and easily. Apple has added the Today view with widgets for just this reason. Widgets provide app users with a way of quickly accessing important features and content of your apps without having to open each app one by one. In this screencast, we'll go over how to create a widget for your app.
Targets and configurations and schemes; Oh my! Confused by these Xcode concepts? Curious how using multiple build configurations coupled with schemes can avoid the multiple-target mess? If you’re wondering what this all means and how it can make your developer life better, this video is for you.
In part 1, we began simplifying our React Native native iOS code by separating an idiomatic Swift class from a React Native adapter. We’re going to finish this extraction by moving over a method that returns data. By the end of this screencast you should be comfortable with writing idiomatic Swift methods that return data synchronously or asynchronously, and adapting them to React Native.
In this screencast, we’re going to look at how to write your native iOS code for React Native in a more idiomatic Swift way. By the end of this screencast you’ll be able to refactor your React Native Objective-C code to be Swift code that isn’t React Native specific.
HealthKit provides a rich data store on iOS for tracking many types of data related to a users health. In this video, we will see how an application can write data to this store. After this video you can apply the same technique to allow users to save data from your application into HealthKit.
HealthKit provides iPhone users with a rich set of activity and health data that is available for applications to use. In this video, we will cover the basics of getting access to HealthKit and visualizing a users daily step count. After this video you will be able to query HealthKit data to provide your users with unique and interesting ways to see their activity and general health.
In this screencast, Matt walks us through creating a Queue in Swift using generics to hold arbitrary data types. We'll be learning about collections by creating our own collection type. Watch along as we discuss the Swift language and how to construct a implementation of a custom collection. We'll be going over some guards and guarantees to constrain the types of data in our queue.
You've seen these things in your code. @IBAction. @escaping. @objc. @autoclosure. But what are they? How do they differ from other Swift language features? If you want to understand what is going on under the hood, to know the implications of your code, follow along with Mark Dalrymple in this dive into Swift Attributes.
Implementing Touch ID and Face ID using Apple's Local Authentication framework helps prevent unauthorized access to user's data. We will use the simulator to exercise different authentication scenarios. While the passcode on an iOS device helps prevent unauthorized access, Touch ID and Face ID let the user have a more secure complex pass code, while still making the device convenient to use.
A breakpoint is a debugging tool that lets you stop your application at a specific line of code. The application is suspended, allowing you to look at your program state, and collect information about whatever bug you are tracking. In this screencast, we'll talk about simple breakpoints, conditional breakpoints, and set exception breakpoints.
Tight coupling between view controllers in your application can lead to difficult maintenance as you add and remove features. This video will explore how using Protocols can make our Dependency Injection more loosely coupled. This improves the flexibility of the code and makes our application easier to change.