Skip to content
Snippets Groups Projects
Commit d74aeeeb authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Merge branch 'dev/legacy-fact-api-deprecation' into 'development'

Update deprecation annotations

See merge request elixxir/elixxir-dapps-sdk-swift!73
parents 39909b36 9dcf1f2d
No related branches found
No related tags found
2 merge requests!102Release 1.0.0,!73Update deprecation annotations
......@@ -29,14 +29,12 @@ extension Fact: Codable {
}
extension Fact {
@available(iOS, deprecated: 9999.0, message: "This API has been soft-deprecated in favor of `Fact.init(type:value:)`.")
@available(macOS, deprecated: 9999.0, message: "This API has been soft-deprecated in favor of `Fact.init(type:value:)`.")
@available(*, deprecated, message: "This API has been deprecated in favor of `Fact.init(type:value:)`.")
public init(fact: String, type: Int) {
self.init(type: .init(rawValue: type), value: fact)
}
@available(iOS, deprecated: 9999.0, message: "This API has been soft-deprecated in favor of `Fact.value`.")
@available(macOS, deprecated: 9999.0, message: "This API has been soft-deprecated in favor of `Fact.value`.")
@available(*, deprecated, message: "This API has been deprecated in favor of `Fact.value`.")
public var fact: String {
get { value }
set { value = newValue }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment