# iOS Unit Testing by Example: Section III Source Code

**URL:** <https://forum.devtalk.com/t/ios-unit-testing-by-example-section-iii-source-code/46939>\
**Category:** PragProg Customers\
**Tags:** book-ios-unit-testing-by-example, suggestion\
**Created:** [26 March 2022 00:18 UTC](https://forum.devtalk.com/t/ios-unit-testing-by-example-section-iii-source-code/46939 "2022-03-26T00:18:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnBrewer](https://forum.devtalk.com/user_avatar/forum.devtalk.com/johnbrewer/32/3860_2.png) [@JohnBrewer](https://forum.devtalk.com/u/JohnBrewer)\
**Post date:** [26 March 2022 00:18 UTC](https://forum.devtalk.com/t/ios-unit-testing-by-example-section-iii-source-code/46939/1 "2022-03-26T00:18:07Z")

</div>

Section III of the book consists of a bunch of refactoring of an initially poorly-factored class. Unfortunately, the source code for the book only includes the **final** version of the project, not the beginning one.

After having had to create the starter project by hand from the instructions on pp. 210-219, I thought I’d save others the trouble by posting the starter code to GitHub:

> **[GitHub - jeradesign/Refactoring: Starter project for Section III of iOS Unit...](https://github.com/jeradesign/Refactoring)**
>
> Starter project for Section III of iOS Unit Testing by Example by Jon Reid - GitHub - jeradesign/Refactoring: Starter project for Section III of iOS Unit Testing by Example by Jon Reid

Enjoy!
