Refactor and Scope user settings to pubkey
This commit is contained in:
13
damus/Util/StringCodable.swift
Normal file
13
damus/Util/StringCodable.swift
Normal file
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// StringCodable.swift
|
||||
// damus
|
||||
//
|
||||
// Created by William Casarin on 2023-04-21.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
protocol StringCodable {
|
||||
init?(from string: String)
|
||||
func to_string() -> String
|
||||
}
|
||||
Reference in New Issue
Block a user