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

Commit

Permalink
Added available attribute on a deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtSabintsev committed Mar 4, 2017
1 parent 725a9dd commit 72179fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Zephyr.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Zephyr"
s.version = "2.2.0"
s.version = "2.2.1"
s.summary = "Effortlessly synchronize UserDefaults over iCloud"

s.description = <<-DESC
Expand Down
3 changes: 3 additions & 0 deletions Zephyr/Zephyr.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ public class Zephyr: NSObject {
/// If **true**, then NSUbiquitousKeyValueStore.synchronize() will be called immediately after any change is made.
public static var syncUbiquitousKeyValueStoreOnChange = true

@available(*, deprecated: 2.2.1, unavailable, renamed: "syncUbiquitousKeyValueStoreOnChange")
public static var syncUbiquitousStoreKeyValueStoreOnChange = true

/// The singleton for Zephyr.
fileprivate static let shared = Zephyr()

Expand Down

0 comments on commit 72179fc

Please sign in to comment.