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

Commit

Permalink
Spelling is hard. Fixed spelling issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtSabintsev committed Nov 24, 2015
1 parent 8a2ad12 commit 3711965
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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 = "1.3.0"
s.version = "1.3.1"
s.summary = "Effortlessly synchronize NSUserDefaults over iCloud"

s.description = <<-DESC
Expand Down
6 changes: 3 additions & 3 deletions Zephyr.swift
Original file line number Diff line number Diff line change
Expand Up @@ -452,10 +452,10 @@ extension Zephyr {
Observation method for NSUbiquitousKeyValueStoreDidChangeExternallyNotification
*/
func keysDidChangeOnCloud(notificaiton: NSNotification) {
if notificaiton.name == NSUbiquitousKeyValueStoreDidChangeExternallyNotification {
func keysDidChangeOnCloud(notification: NSNotification) {
if notification.name == NSUbiquitousKeyValueStoreDidChangeExternallyNotification {

guard let userInfo = notificaiton.userInfo,
guard let userInfo = notification.userInfo,
cloudKeys = userInfo[NSUbiquitousKeyValueStoreChangedKeysKey] as? [String],
localStoredDate = ZephyrLocalStoreDictionary[ZephyrSyncKey] as? NSDate,
remoteStoredDate = ZephyrRemoteStoreDictionary[ZephyrSyncKey] as? NSDate where remoteStoredDate.timeIntervalSince1970 > localStoredDate.timeIntervalSince1970 else {
Expand Down

0 comments on commit 3711965

Please sign in to comment.