iPhone Life - Best Apps, Top Tips, Great Gear
Swift Programming 101: Mastering Protocols and Delegates (Part 2)
By Kevin McNeish
In part 2 of this post on Swift's protocols, you will learn practical uses for declaring custom protocols in your own apps, and learn further how they improve the architecture of your apps and make them easier to enhance and extend.
In part 1 of this post, I demonstrated how to implement existing Cocoa Touch protocols in your apps. Now you'll learn how and why to create your very own. First, we need to cover the basic construction of a Swift protocol.
It's that time of year again. Right after a new iPhone comes out there is the inevitable deluge of great cases to protect your new investment. This happens with every iPhone release, but perhaps never more markedly than with the introduction of the completely new form factors of the iPhone 6 and 6 Plus. If ever an iPhone called for a protective case it is these large and larger models, with their increased real estate, slick, rounded edges and extra heft. Rather than clump an assortment of different cases together, I'll be focusing on one great case each week over the course of the coming months. In a break from the norm, this week we are featuring two different waterproof cases: the LUNATIK TAKTIK 360 ($119.95) and the LUNATIK AQUATIK ($89.95).
- ‹ previous
- 2309 of 2492
- next ›
