Skip to content
This repository was archived by the owner on Aug 29, 2024. It is now read-only.

Commit 72179fc

Browse files
committed
Added available attribute on a deprecated method
1 parent 725a9dd commit 72179fc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Zephyr.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Zephyr"
3-
s.version = "2.2.0"
3+
s.version = "2.2.1"
44
s.summary = "Effortlessly synchronize UserDefaults over iCloud"
55

66
s.description = <<-DESC

Zephyr/Zephyr.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ public class Zephyr: NSObject {
2525
/// If **true**, then NSUbiquitousKeyValueStore.synchronize() will be called immediately after any change is made.
2626
public static var syncUbiquitousKeyValueStoreOnChange = true
2727

28+
@available(*, deprecated: 2.2.1, unavailable, renamed: "syncUbiquitousKeyValueStoreOnChange")
29+
public static var syncUbiquitousStoreKeyValueStoreOnChange = true
30+
2831
/// The singleton for Zephyr.
2932
fileprivate static let shared = Zephyr()
3033

0 commit comments

Comments
 (0)