Contents

SCPreferencesUnscheduleFromRunLoop(_:_:_:)

Unschedules commit and apply notifications for the specified preferences session from the specified run loop and mode.

Declaration

func SCPreferencesUnscheduleFromRunLoop(_ prefs: SCPreferences, _ runLoop: CFRunLoop, _ runLoopMode: CFString) -> Bool

Parameters

  • prefs:

    The preferences session.

  • runLoop:

    The run loop from which the notification should be unscheduled. Do not pass NULL.

  • runLoopMode:

    The run loop mode associated with the scheduled notification. Do not pass NULL.

Return Value

TRUE if the notifications are successfully unscheduled; otherwise, FALSE.

See Also

Managing Notifications and Callbacks