Skip to content

Instantly share code, notes, and snippets.

@VincentDondain
Last active April 15, 2016 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VincentDondain/2c10dae11e2a6d0d2ba679bdbfcf18f4 to your computer and use it in GitHub Desktop.
Save VincentDondain/2c10dae11e2a6d0d2ba679bdbfcf18f4 to your computer and use it in GitHub Desktop.
diff --git a/src/foundation.cs b/src/foundation.cs
index 598fdd5..8d8379d 100644
--- a/src/foundation.cs
+++ b/src/foundation.cs
@@ -4371,6 +4371,29 @@ namespace XamCore.Foundation
[Field ("NSRegistrationDomain")]
NSString RegistrationDomain { get; }
+
+ [iOS (9,3)]
+ [NoMac][NoTV][NoWatch]
+ [Notification]
+ [Field ("NSUserDefaultsSizeLimitExceededNotification")]
+ NSString SizeLimitExceededNotification { get; }
+
+ [iOS (9,3)]
+ [NoMac][NoTV][NoWatch]
+ [Notification]
+ [Field ("NSUbiquitousUserDefaultsDidChangeAccountsNotification")]
+ NSString DidChangeAccountsNotification { get; }
+
+ [iOS (9,3)]
+ [NoMac][NoTV][NoWatch]
+ [Notification]
+ [Field ("NSUbiquitousUserDefaultsCompletedInitialSyncNotification")]
+ NSString CompletedInitialSyncNotification { get; }
+
+ [NoTV][NoWatch]
+ [Notification]
+ [Field ("NSUserDefaultsDidChangeNotification")]
+ NSString UserDefaultsDidChangeNotification { get; }
}
[BaseType (typeof (NSObject), Name="NSURL")]
@@ -9210,29 +9233,32 @@ namespace XamCore.Foundation
[return: NullAllowed]
NSObject ReverseTransformedValue ([NullAllowed] NSObject value);
+#if IOS && !XAMCORE_4_0
#if !MONOMAC
[iOS (9, 3)]
- [NoTV]
[Notification]
+ [Obsolete ("Use NSUserDefaults ().SizeLimitExceededNotification instead")]
[Field ("NSUserDefaultsSizeLimitExceededNotification")]
NSString SizeLimitExceededNotification { get; }
[iOS (9, 3)]
- [NoTV]
[Notification]
+ [Obsolete ("Use NSUserDefaults ().DidChangeAccountsNotification instead")]
[Field ("NSUbiquitousUserDefaultsDidChangeAccountsNotification")]
NSString DidChangeAccountsNotification { get; }
[iOS (9, 3)]
- [NoTV]
[Notification]
+ [Obsolete ("Use NSUserDefaults ().CompletedInitialSyncNotification instead")]
[Field ("NSUbiquitousUserDefaultsCompletedInitialSyncNotification")]
NSString CompletedInitialSyncNotification { get; }
#endif
[Notification]
+ [Obsolete ("Use NSUserDefaults ().UserDefaultsDidChangeNotification instead")]
[Field ("NSUserDefaultsDidChangeNotification")]
NSString UserDefaultsDidChangeNotification { get; }
+#endif
[Field ("NSNegateBooleanTransformerName")]
NSString BooleanTransformerName { get; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment