APLConfigurationUpdated

Objective-C

@protocol APLConfigurationUpdated

Swift

protocol APLConfigurationUpdated

Availability: All.

The protocol used by the APLAddConfigurationUpdatedListener() function.

  • Availability: All.

    Called when the configuration has been updated or reset by Appfigurate. If the notification was generated by an action being executed then notification.userInfo[APLConfigurationUpdatedAction] will be a NSString of the action name. If the notification was generated by configuration being updated or reset, then notification.userInfo will be nil.

    Objective-C example

    - (void) configurationUpdated: (NSNotification*) notification {
      [self.tableView reloadData];
    }
    

    Swift example

    func configurationUpdated(_ notification: Notification?) {
      self.tableView.reloadData()
    }
    

    Declaration

    Objective-C

    - (void)configurationUpdated:(NSNotification *_Nullable)notification;

    Swift

    func configurationUpdated(_ notification: Notification?)