# 097 iPS Deconstructing Your Codebase with Michele Titolo

> Episode of [iPhreaks](https://podistic.com/podcast/iphreaks.md) · Published March 19, 2015 · Duration 52:43

- **Listen on Podistic:** https://podistic.com/episode/097-ips-deconstructing-your-codebase-with-michele-titolo
- **Audio:** https://dts.podtrac.com/redirect.mp3/api.spreaker.com/download/episode/58853999/stream.mp3 (audio/mpeg)

## About this episode

Support the shows at [devchat.tv/kickstarter](http://www.devchat.tv/kickstarter)!   01:45 - Michele Titolo Introduction

*   [Twitter](https://twitter.com/micheletitolo)
*   [Blog](http://michele.io/)
*   [Reddit](http://www.reddit.com/)
*   [Women Who Code](https://www.womenwhocode.com/)
*   [Ruby Rogues Episode #147: APIs That Don't Suck with Michele Titolo](http://devchat.tv/ruby-rogues/147-rr-apis-that-dont-suck-with-michele-titolo)

02:26 - Deconstructing and Decoupling

*   Reuse Goals

08:36 - Having Seams in Your Code to Avoid Conflict

*   [8 Patterns to Help You Destroy Massive View Controller](http://khanlou.com/2014/09/8-patterns-to-help-you-destroy-massive-view-controller/)

11:35 - The Deconstructing Mindset (Finding Reuse Patterns)

*   [The Rule of Three](http://en.wikipedia.org/wiki/Rule_of_three_\(computer_programming\))
*   [Inheritance](http://en.wikipedia.org/wiki/Inheritance_\(object-oriented_programming\))

17:48 - [The Decorator Pattern](http://en.wikipedia.org/wiki/Decorator_pattern) 18:43 - Categories 21:34 - Sharing [UI (User Interface)](http://en.wikipedia.org/wiki/User_interface) Codes 23:55 - Mechanics of Sharing Code Between Apps

*   [Jeffrey Jackson: Private Cocoapods](https://coderwall.com/p/7ucsva)
*   [CocoaPods Guide: Podspec Syntax Reference](http://guides.cocoapods.org/syntax/podspec.html)

29:02 - Lessons Learned: Easy Ways/Patterns to Know When to Break Up Small Functionalities

*   Separate as Soon As Possible
*   Do a Local Pod Using the Path Option (Path is Your Friend!)
    *   [CocoaPods Guide: Private Pods](http://guides.cocoapods.org/making/private-cocoapods.html)
*   Have a Good Code Review Process

33:23 - Cocoapods: Commit to Source or Not? 39:59 - Team Collaboration

*   [Spotify](https://www.spotify.com/)
*   [\[YouTube\] Kent Beck: Software G Forces: The Effects of Acceleration](https://www.youtube.com/watch?v=KIkUWG5ACFY)

Picks [Refactoring: Improving the Design of Existing Code by Martin Fowler](http://www.amazon.com/Refactoring-Improving-Design-Existing-Code/dp/0201485672) (Pete)  
[Working Effectively with Legacy Code by Michael Feathers](http://www.amazon.com/Working-Effectively-Legacy-Michael-Feathers/dp/0131177052) (Pete)  
[Refactoring To Patterns by Joshua Kerievsky](http://industriallogic.com/xp/refactoring/) (Pete)  
[WWDC 2010 Session 138: API Design for Cocoa and Cocoa Touch](http://asciiwwdc.com/2010/sessions/138) (Andrew)  
[\[Slides\] Michele Titolo: Cocoa Design Patterns in Swift](http://www.slideshare.net/micheletitolo/cocoa-design-patterns-in-swift) (Andrew)  
[The Cocotron](http://cocotron.org) (Andrew)
