The mobile development world moves very quickly and you need to make sure that your frameworks are up to date with the latest and greatest. In this video, learn what Semantic Versioning is, how you can keep it in consideration when versioning your framework, and how to handle the future as it comes to you.
- [Instructor] Congratulations.…At this point, you've made a reusable framework…that allows you to plug a camera…into any iOS application you want.…You should pat yourself on the back…because you've made something really, really cool,…and really usable.…The truth is,…you're probably going to want to expand on this…and add some functionality.…You may even change some of the existing functionality.…This is where semantic versioning comes into play.…In your reusable framework,…go to the Xcode project file…for your reusable framework,…and look at the identity tab.…You'll notice that out of the box,…it's giving you a version tag of version 1.0,…a brief explanation on what semantic versioning actually is.…
For illustration's sake,…go ahead and type in .0 after that.…The three numbers in this version…refer to the major,…the minor, and the patch version.…You should only update the patch version at the end,…whenever you're doing a bug fix,…and your API is always backward-compatible…with any previous version up to that patch version.…
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.