Learn how to turn your Swift code into a reusable framework. This project-based training course shows how to build a camera library that you can drag and drop into any iOS app.
- [David] Have you ever been in a situation where you've had to fulfill multiple client needs by having to write the same code over and over and over again? My name's David Okun, and in this course, I'm going to show you how to organize your Swift code into a reusable framework, so that you can use it whenever you need to. In this course, we'll go over how to make a camera framework that you can drop into any mobile application you use in iOS. We'll talk about what goes into making a developer tool great, setting up a development environment so that you have an easy way to iterate on your camera. We'll talk about refactoring access control, interface development, and even handling memory leaks to make sure that whatever you ship out is ready to go for anyone to use.
I'm really excited to teach you about this way of developing Swift code, so let's go ahead and get started.
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
Skill Level Intermediate
Learning Server-Side Swift with Vaporwith Ron Buencamino1h 30m Intermediate
Swift 4: Protocol-Oriented Programmingwith Károly Nyisztor1h 44m Intermediate
1. Let's Make It Work
2. Let's Keep It Clean
3. Putting It All Together
4. Track It
Tagging releases in Git2m 36s
Next steps1m 47s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.