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

Merge branch 'development' into feature/messenger-example-clean-up

parents 06f7ff82 d74aeeeb
No related branches found
No related tags found
2 merge requests!102Release 1.0.0,!74Messenger example - clean up
...@@ -29,14 +29,12 @@ extension Fact: Codable { ...@@ -29,14 +29,12 @@ extension Fact: Codable {
} }
extension Fact { extension Fact {
@available(iOS, 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:)`.")
@available(macOS, deprecated: 9999.0, message: "This API has been soft-deprecated in favor of `Fact.init(type:value:)`.")
public init(fact: String, type: Int) { public init(fact: String, type: Int) {
self.init(type: .init(rawValue: type), value: fact) 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(*, deprecated, message: "This API has been deprecated in favor of `Fact.value`.")
@available(macOS, deprecated: 9999.0, message: "This API has been soft-deprecated in favor of `Fact.value`.")
public var fact: String { public var fact: String {
get { value } get { value }
set { value = newValue } 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