Swift cleanup: "init (" -> "init("

Signed-off-by: Bryan Montz <bryanmontz@me.com>
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
Bryan Montz
2023-07-16 08:00:50 -05:00
committed by William Casarin
parent 16c86c1d1c
commit 0c627ae0a0
10 changed files with 11 additions and 11 deletions

View File

@@ -18,7 +18,7 @@ class EventCounter {
var our_events: [String: NostrEvent] = [:]
var our_pubkey: String
init (our_pubkey: String) {
init(our_pubkey: String) {
self.our_pubkey = our_pubkey
}

View File

@@ -13,7 +13,7 @@ struct NostrPost {
let references: [ReferencedId]
let tags: [[String]]
init (content: String, references: [ReferencedId], kind: NostrKind = .text, tags: [[String]] = []) {
init(content: String, references: [ReferencedId], kind: NostrKind = .text, tags: [[String]] = []) {
self.content = content
self.references = references
self.kind = kind