@@ -16,6 +16,7 @@ open class ManagedAppConfigSettings: NSObject {
1616
1717 fileprivate static var token : Int = 0
1818 fileprivate static var manager : ManagedAppConfigSettings ?
19+ @objc
1920 open var delegate : ManagedAppConfigSettingsDelegate ?
2021
2122 // MARK: Public Methods
@@ -25,6 +26,8 @@ open class ManagedAppConfigSettings: NSObject {
2526
2627 - returns: ManagedAppConfigSettings instance
2728 */
29+
30+ @objc
2831 public static func clientInstance( ) -> ManagedAppConfigSettings
2932 {
3033 _ = ManagedAppConfigSettings . __once
@@ -35,6 +38,7 @@ open class ManagedAppConfigSettings: NSObject {
3538 Start the ManagedAppConfigSettings, including adding observers
3639 It is recommended to set the delegate before calling start()
3740 */
41+ @objc
3842 open func start( )
3943 {
4044 NotificationCenter . default. addObserver ( forName: UserDefaults . didChangeNotification, object: nil , queue: OperationQueue . main) { ( notification: Notification ) -> Void in
@@ -51,6 +55,7 @@ open class ManagedAppConfigSettings: NSObject {
5155 _ = self . checkAppConfigChanges ( )
5256 }
5357
58+ @objc
5459 open func end( )
5560 {
5661 NotificationCenter . default. removeObserver ( self , name: UserDefaults . didChangeNotification, object: nil ) ;
@@ -61,6 +66,7 @@ open class ManagedAppConfigSettings: NSObject {
6166
6267 - returns: dictionary of key/value pairs
6368 */
69+ @objc
6470 open func appConfig ( ) -> [ String : Any ] ? {
6571 if let serverConfig = UserDefaults . standard. dictionary ( forKey: kMDM_CONFIGURATION_KEY)
6672 {
0 commit comments