Skip to content

Instantly share code, notes, and snippets.

@serhiybutz
Last active July 13, 2020 03:12

Revisions

  1. serhiybutz created this gist Jan 17, 2020.
    6 changes: 6 additions & 0 deletions ThemeManager-ThemeModelProtocol.swift
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    public protocol ThemeModelProtocol {}

    public protocol ThemeProtocol: Equatable {
        associatedtype Model: ThemeModelProtocol
        var settings: Model { get }
    }