-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
NSUserDefaults+iCloud.h
24 lines (21 loc) · 911 Bytes
/
NSUserDefaults+iCloud.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//
// NSUserDefaults+iCloud.h
// FTiCloudSync
//
// Copyright (c) 2012:
// Ortwin Gentz, FutureTap GmbH, http://www.futuretap.com
// All rights reserved.
//
// Licensed under CC-BY-SA 3.0: http://creativecommons.org/licenses/by-sa/3.0/
// You are free to share, adapt and make commercial use of the work as long as you give attribution and keep this license.
// To give credit, we suggest this text: "Uses FTiCloudSync by Ortwin Gentz", with a link to the GitHub page
#import <Foundation/Foundation.h>
extern NSString* const FTiCloudSyncDidUpdateNotification;
extern NSString* const FTiCloudSyncChangedKeys;
extern NSString* const FTiCloudSyncRemovedKeys;
@interface NSUserDefaults(iCloud)
+ (void)updateFromiCloud:(NSNotification*) notificationObject;
- (void)my_setObject:(id)value forKey:(NSString *)defaultName;
- (void)my_removeObjectForKey:(NSString *)defaultName;
- (void)my_synchronize;
@end