Skip to content
@Clean-Swift

Clean Swift

iOS Clean Architecture with Swift

  • A sample project to show how backward routing and data passing work with popover.

    Swift MIT Updated Mar 20, 2019
  • A sample iOS app built using the Clean Swift architecture. Clean Swift is Uncle Bob's Clean Architecture applied to iOS and Mac projects. CleanStore demonstrates Clean Swift by implementing the create order use case described by in Uncle Bob's talks.

    Swift 1,116 177 MIT Updated Feb 26, 2019
  • Another sample project to demonstrate how to use UIImagePickerController in Clean Swift

    Swift MIT Updated Jul 10, 2018
  • A sample project to demonstrate how to use UIImagePickerController in Clean Swift

    Swift MIT Updated Jul 10, 2018
  • A simple login system to demonstrate how the VIP cycle fully encapsulate the `UserDefaults` details from the rest of your app

    Swift 6 MIT Updated Jun 25, 2018
  • This app lists all public gists using GitHub's API. It demonstrates how to encapsulate all API code and write unit tests for it.

    Swift 6 Updated May 19, 2018
  • This project demonstrates two different approaches to handle asynchronous operations: 1. Completion Handler, and 2. VIP Cycle.

    Swift 3 MIT Updated May 8, 2018
  • This project demonstrates five different approaches to handle synchronous operations - when you need the result in the same calling method now, instead of a different delegate method later. The five approaches are: 1. State Variable, 2.Return Value, 3. In-Out Parameter, 4. Completion Handler, and 5. VIP Cycle.

    Swift 1 MIT Updated May 8, 2018
  • Convert the Apple CurrentAddress sample code to using Clean Swift

    Swift 5 2 Updated Apr 18, 2018
  • This is a demo project for the detailed walkthrough of Test Driven Development in my Effective Unit Testing book.

    Swift 4 4 MIT Updated Apr 7, 2018
  • A sample project to illustrate how the Clean Swift architecture passes data forward and backward more elegantly without using delegation

    Swift 3 3 MIT Updated Mar 23, 2018
  • A sample project to show how to use Realm in a Clean Swift architecture. It also shows how to display different models in only one scene in a DRY manner, another twist to the VIP cycle, and how to use custom table view cells to deal with complex display logic

    Swift 16 4 MIT Updated Jan 26, 2018
  • This is a demo project to illustrate advanced dependency injection techniques described in this post https://clean-swift.com/advanced-dependency-injection

    Swift 2 2 MIT Updated Jan 15, 2018
  • This sample project illustrates how to decouple authentication logic, and write unit tests using different types of test doubles.

    Swift 13 4 MIT Updated Oct 28, 2017
  • This demo project shows how to use Core Data and NSFetchedResultsController in the Clean Swift architecture

    Swift 9 4 MIT Updated Sep 28, 2017
  • This demo project shows how to use Core Data relationships in the Clean Swift architecture

    Swift 4 1 MIT Updated Sep 27, 2017
  • This demo project shows how to use view controller containment in the Clean Swift architecture

    Swift 8 MIT Updated Sep 1, 2017
  • A demo project to show how injection technique is used for A/B testing in Clean Swift architecture

    Swift 3 1 MIT Updated Aug 23, 2017
  • Solving the massive viewDidLoad() problem using the Clean Swift architecture

    Swift 9 4 Updated Jan 24, 2016
  • Source code for blog post "To mock or not to mock"

    Swift 6 2 MIT Updated Oct 27, 2015

Top languages

Loading…

Most used topics

Loading…

You can’t perform that action at this time.