Contents

agent(plistName:)

Initializes an app service object with a launch agent with the property list name you provide.

Declaration

class func agent(plistName: String) -> Self

Parameters

  • plistName:

    The name of the property list corresponding to the Smappservice.

Discussion

The property list name must correspond to a property list in the calling app’s Contents/Library/LaunchAgents directory.

See Also

Managing apps