Cephei — Types and Constants
-
This notification is posted when a change is made to a registered preferences identifier. The notification object is the associated HBPreferences object.
Declaration
Objective-C
extern NS_SWIFT_NAME(HBPreferences.didChangeNotification) const NSNotificationName HBPreferencesDidChangeNotification
Swift
class let didChangeNotification: NSNotification.Name
-
Name of an exception that occurs when attempting to set preferences from a process not running as the
mobile
user.Declaration
Objective-C
extern NS_SWIFT_NAME(HBPreferences.notMobileException) const NSExceptionName HBPreferencesNotMobileException
Swift
class let notMobileException: NSExceptionName
-
Undocumented
Declaration
Objective-C
typedef void (^HBPreferencesChangeCallback)(void)
Swift
typealias HBPreferencesChangeCallback = () -> Void
-
Undocumented
Declaration
Objective-C
typedef void (^HBPreferencesValueChangeCallback)(NSString *key, id<NSCopying> _Nullable value)
Swift
typealias HBPreferencesValueChangeCallback = (String, NSCopying?) -> Void