Join David Okun for an in-depth discussion in this video Making a great developer tool, part of Swift: Writing Reusable Frameworks.
- [Instructor] Let's talk about the work…that goes into making a great developer tool.…When you're making a great developer tool,…you need to consider its documentation.…Whenever somebody encounters your tool…for the first time, you need to think about…is your code well commented?…As people read the code of your tool,…can people understand what your tool…is doing in plain English, as opposed to just swift code.…Is the README document that people encounter…when they go to the Get repository, comprehensive enough.…Will people be able to just read that and…understand exactly what it is that your tool does?…And finally, does that README…have clear integration instructions.…
You need to be able to make sure that your tool…is easy to integrate and easy to get started…with right away.…Think about this quote form Ken Williams,…"Remember: the documentation, not the code,…"defines what a module does."…In order to work with this, there's a tool…that my friend Richard Littauer made,…called Standard README on GitHub.…This is his command line interface generator…
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
Learning Swift Playgrounds Application Developmentwith Steven Lipton2h 58m Intermediate
Swift: Delegations and Data Sourceswith Steven Lipton31m 49s Beginner
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.