Join David Okun for an in-depth discussion in this video What you should know, part of Swift: Writing Reusable Frameworks.
- Let's talk about what you need for this course. In order to be able to complete the course materials from start to finish, first you'll need a Macintosh computer running macOS 10.12.6 or higher. You'll need to install Xcode 9.0 for this course as well. You'll also need an iOS device that has at least iOS 11.0 or higher installed on it. The framework we're going to be making is for a camera on an iOS device. The simulator won't be used at all during this course. Additionally, your version of Xcode will need to be running Swift version 4.0 or higher.
It's important to point out that as you go through this course, none of these thins are entirely necessary in order to create a re-usable camera framework. But the things I'll teach you in this course will use the latest and greatest features that come with Xcode nine, Swift four and iOS 11. I strongly encourage you to make sure that you have all of these installed. Here's some things you should think about when you consider whether or not this is the right course for you. Have you ever made an iOS application before? Whether in Objective-C or Swift, you should be at least basically familiar with the stack of an iOS application and what goes into working with Xcode.
Have you ever tried Swift before? It is still possible to make an iOS application in Objective-C. If you've never tried Swift before, you may want to consider our Swift Essential Training Course before getting started with this course. Lastly, if you've ever worked with AVFoundation, some of these course materials will feel familiar to you. But we will be making a camera framework that works with AVFoundation. It's important to point out that this course is not focused on teaching the in's and out's of AVFoundation but we will be touching on it throughout this course by making a camera framework. We have many other courses available on AVFoundation to check out if you'd like to learn more about that as this course will be focused on writing code in a re-usable way to distribute in a framework.
If you've answered no to any of these questions, it's possible that this may not be the right course for you at this point in time and you should again consider our Swift Essential Training course for now before continuing on to this course.
Along the way, he explains the differences and nuances between writing code for an application and for a reusable framework, as well as some of the fundamentals of AVFoundation, one of the core camera frameworks in iOS. David also shows how to refactor your code, understand Swift access control, develop an interface, and handle memory leaks, so your framework is ready to share with other developers.
- Creating your first build
- Making the camera work
- Creating a framework delegate
- Adding media
- Capturing images
- Correcting orientation
- Versioning and tagging releases in Git