• Stars
    star
    4
  • Rank 3,303,833 (Top 66 %)
  • Language
    Swift
  • License
    MIT License
  • Created almost 7 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

More Repositories

1

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
1,918
star
2

Simple

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

Authentication

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

TDD

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

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
21
star
6

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
16
star
7

DataPassing

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

SmartFetcher

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

Posts

Solving the massive viewDidLoad() problem using the Clean Swift architecture
Swift
11
star
10

Containment

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

WhenToMock

Source code for blog post "To mock or not to mock"
Swift
8
star
12

CurrentAddress

Convert the Apple CurrentAddress sample code to using Clean Swift
Swift
7
star
13

Asynchronous

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

Relationship

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

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
5
star
16

ABTesting

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

ColorPop

A sample project to show how backward routing and data passing work with popover.
Swift
2
star
18

Imaging-2

Another sample project to demonstrate how to use UIImagePickerController in Clean Swift
Swift
2
star
19

Imaging-1

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