19 lines
383 B
Swift
19 lines
383 B
Swift
//
|
|
// StateProtocol.swift
|
|
// Meta
|
|
//
|
|
// Created by david-swift on 26.05.24.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
/// An interface for accessing `State` without specifying the generic type.
|
|
protocol StateProtocol {
|
|
|
|
/// The identifier for the state property's value.
|
|
var id: UUID { get set }
|
|
/// Whether the state value is an observable object.
|
|
var isObservable: Bool { get }
|
|
|
|
}
|