Now that you have a developer environment ready to go, take your actual framework that can be used and link a sample application to test it in. Make sure that your workflow is solidified and that you can easily test new features that you write for your framework in a place your familiar with—a simple iOS application.
- [Instructor] Now that we've created our project file,…let's go ahead and finish configuring…our development environment.…In the title bar, after you've created your framework,…click on File, New, Workspace.…Make sure that you go to the right folder.…Go to your desktop and click on Camera Framework.…You're going to want to create your workspace…in this exact folder here at the top level.…Name it, Camera Workspace, and click Save.…You'll work with this file in just a little bit.…Go ahead and close what you've just created,…and also close the Camera Framework…that you created earlier.…
Finally, we want to go to Xcode again,…and click Create a new Xcode project.…This time we will select single view application,…to create a sample application to test…our framework that we work on.…Click on Next…and name the product, Sample Application.…For this, you don't need to select…a development team just yet.…Make sure the organization name and identifier…are whatever you want,…but it's a good idea to keep them…consistent with your framework that you made.…
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?
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.