# iPS 166 Protocol-Oriented Programming with Natasha Murashev

> Episode of [iPhreaks](https://podistic.com/podcast/iphreaks.md) · Published August 18, 2016 · Duration 41:43

- **Listen on Podistic:** https://podistic.com/episode/ips-166-protocol-oriented-programming-with-natasha-murashev
- **Audio:** https://dts.podtrac.com/redirect.mp3/api.spreaker.com/download/episode/58853957/stream.mp3 (audio/mpeg)

## About this episode

01:58 - Natasha Murashev Introduction

*   [@NatashaTheRobot](http://www.twitter.com/NatashaTheRobot)
*   [@natashathenomad](https://twitter.com/natashathenomad)  
*   [GitHub](https://github.com/NatashaTheRobot)
*   [Blog](http://natashatherobot.com/)
*   [This Week in Swift Newsletter](https://swiftnews.curated.co/)
*   [The iPhreaks Show Episode #092: Unit Testing with NatashaTheRobot](https://devchat.tv/iphreaks/092-ips-unit-testing-with-natashatherobot)
*   [try! Swift](http://www.tryswiftconf.com/)
    *   [try! Swift NYC](http://www.tryswiftnyc.com/) Use discount code IPHREAKS100 for \$100 off a ticket!

02:31 - Protocol-Oriented Programming

*   [Natasha Murashev: Practical Protocol-Oriented-Programming](https://realm.io/news/appbuilders-natasha-muraschev-practical-protocol-oriented-programming/)
*   [WWDC 2015: Protocol-Oriented Programming in Swift](https://developer.apple.com/videos/play/wwdc2015/408/)

03:49 - How Protocols Were Used Prior to Swift; Benefits 08:12 - Benefits in Regards to Testing 09:03 - Protocols in Swift vs Objective-C 10:18 - Downsides/Pitfalls When Using Protocols 13:04 - [Associated Types](https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/Generics.html) and [Type Erasure](https://en.wikipedia.org/wiki/Type_erasure)

*   [Hector Matos @ AltConf 2016 - Type Erasure Magic](https://speakerdeck.com/hectormatos2011/type-erasure-magic)
*   [Gwendolyn Weston: Keep Calm and Type Erase On](https://realm.io/news/tryswift-gwendolyn-weston-type-erasure/)

17:02 - Keeping Code Clean

*   [The Ghost of Swift Bugs Future](https://nomothetis.svbtle.com/the-ghost-of-swift-bugs-future)

21:22 - Does protocol-oriented programming change the architecture of your apps substantially? 22:06 - Structs > Classes 25:13 - Protocol-oriented Programming Code Examples

*   [Natasha's Talk](https://realm.io/news/appbuilders-natasha-muraschev-practical-protocol-oriented-programming/)
*   [Protocol-Oriented Programming in Swift](https://developer.apple.com/videos/play/wwdc2015/408/)

27:05 - Changes With Swift 3? 28:03 - [try! Swift](http://www.tryswiftconf.com/)   Picks

*   [NorthFace Surge Transit Backpack](https://www.thenorthface.com/shop/surge-transit-backpack-nf0a2zcp) (Alondo)
*   [Andy Matuschak: Let’s Play: Refactor the Mega-Controller @ NSSpain](https://vimeo.com/140037432) (Alondo)
*   [The Well of Ascension (Mistborn, Book 2) by Brandon Sanderson](https://www.amazon.com/Well-Ascension-Mistborn-Book/dp/0765356139) (Layne)
*   [Prague](http://www.prague.eu/) (Layne)
*   [Microsoft Sculpt Ergonomic...](http://amzn.to/29Vfj5S)
