Contents

updateVersion(atCreation:)

Updates the version of the plug-in that was stored when the plug-in was added to the clip.

Declaration

func updateVersion(atCreation newVersion: UInt32) -> Bool

Parameters

  • newVersion:

    The new version number.

Mentioned in

Return Value

If the update was successful, this method returns YES; otherwise, NO.

Discussion

No information about previous backward compatibility is stored, and the plug-in is treated by the host app as if it were created with the specified version number. Updating fails if the specified number is lower than the already-saved version number.

See Also

Getting and Modifying Plug-in Version Numbers