Skip to content
@Clean-Swift

Clean Swift

iOS Clean Architecture with Swift

Repositories

  • CleanStore

    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 MIT 278 1,559 18 7 Updated Mar 27, 2021
  • ColorPop

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

    Swift MIT 1 1 0 0 Updated Apr 4, 2020
  • Imaging-2

    Another sample project to demonstrate how to use UIImagePickerController in Clean Swift

    Swift MIT 0 1 1 0 Updated Jul 10, 2018
  • Imaging-1

    A sample project to demonstrate how to use UIImagePickerController in Clean Swift

    Swift MIT 0 0 0 0 Updated Jul 10, 2018
  • Simple

    A simple login system to demonstrate how the VIP cycle fully encapsulate the `UserDefaults` details from the rest of your app

    Swift MIT 2 16 0 0 Updated Jun 25, 2018
  • Gister

    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 0 12 0 0 Updated May 19, 2018
  • Asynchronous

    This project demonstrates two different approaches to handle asynchronous operations: 1. Completion Handler, and 2. VIP Cycle.

    Swift MIT 0 5 0 0 Updated May 7, 2018
  • Synchronous

    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 MIT 0 4 0 0 Updated May 7, 2018
  • CurrentAddress

    Convert the Apple CurrentAddress sample code to using Clean Swift

    Swift 5 6 1 0 Updated Apr 18, 2018
  • TDD

    This is a demo project for the detailed walkthrough of Test Driven Development in my Effective Unit Testing book.

    Swift MIT 11 14 0 0 Updated Apr 7, 2018
  • DataPassing

    A sample project to illustrate how the Clean Swift architecture passes data forward and backward more elegantly without using delegation

    Swift MIT 5 10 0 0 Updated Mar 23, 2018
  • Auction

    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 MIT 4 18 0 0 Updated Jan 26, 2018
  • WhereIsMyApple

    This is a demo project to illustrate advanced dependency injection techniques described in this post https://clean-swift.com/advanced-dependency-injection

    Swift MIT 2 3 0 0 Updated Jan 15, 2018
  • Authentication

    This sample project illustrates how to decouple authentication logic, and write unit tests using different types of test doubles.

    Swift MIT 4 16 0 0 Updated Oct 28, 2017
  • SmartFetcher

    This demo project shows how to use Core Data and NSFetchedResultsController in the Clean Swift architecture

    Swift MIT 3 9 0 0 Updated Sep 27, 2017
  • Relationship

    This demo project shows how to use Core Data relationships in the Clean Swift architecture

    Swift MIT 1 5 0 0 Updated Sep 27, 2017
  • Containment

    This demo project shows how to use view controller containment in the Clean Swift architecture

    Swift MIT 0 9 0 0 Updated Sep 1, 2017
  • ABTesting

    A demo project to show how injection technique is used for A/B testing in Clean Swift architecture

    Swift MIT 1 2 0 0 Updated Aug 22, 2017
  • Posts

    Solving the massive viewDidLoad() problem using the Clean Swift architecture

    Swift 3 10 0 0 Updated Jan 23, 2016
  • WhenToMock

    Source code for blog post "To mock or not to mock"

    Swift MIT 3 6 0 0 Updated Oct 27, 2015

Top languages

Swift

Most used topics

Loading…