Skip to content

Instantly share code, notes, and snippets.

@dtrofimov
dtrofimov / ObservableModel.swift
Created July 1, 2020 13:39
A replacement for ObservableObject & ObservedObject, allowing the view model protocol usage as a concrete type
//
// ObservableModel.swift
// Rivora
//
// Created by Dmitrii Trofimov on 26.03.2020.
// Copyright © 2020 Dmitrii Trofimov. All rights reserved.
//
import Foundation
import Combine