damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

SignalModel.swift (340B)


      1 //
      2 //  SignalModel.swift
      3 //  damus
      4 //
      5 //  Created by William Casarin on 2022-05-24.
      6 //
      7 
      8 import Foundation
      9 
     10 
     11 class SignalModel: ObservableObject {
     12     @Published var signal: Int
     13     @Published var max_signal: Int
     14     
     15     init(signal: Int = 0, max_signal: Int = 0) {
     16         self.signal = signal
     17         self.max_signal = max_signal
     18     }
     19 }