Skip to content

Commit

Permalink
Fixed issue with VersionedModel in iCloud Sample.
Browse files Browse the repository at this point in the history
  • Loading branch information
drewmccormack committed Dec 26, 2024
1 parent 28509d1 commit 5db0ce3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ extension Fork {

struct Model: Codable, Mergeable, VersionedModel {
static let currentModelVersion: Int = 0
var modelVersion: Int = Self.currentModelVersion
var modelVersion: Int? = Self.currentModelVersion
var text: String
func merged(withSubordinate other: Model, commonAncestor: Model) throws -> Model { self }
}
Expand Down

0 comments on commit 5db0ce3

Please sign in to comment.