Contents

SCPreferencesPathCreateUniqueChild(_:_:)

Creates a new path component rooted at the specified path in the dictionary hierarchy.

Declaration

func SCPreferencesPathCreateUniqueChild(_ prefs: SCPreferences, _ prefix: CFString) -> CFString?

Parameters

  • prefs:

    The preferences session.

  • prefix:

    The parent path.

Return Value

A string representing the new (unique) child path, or NULL if the specified path does not exist.