versionAtCreation()
Provides the version number of a plug-in that a project uses.
Declaration
func versionAtCreation() -> UInt32Mentioned in
Return Value
An integer representation of the version number.
Discussion
Typically, a plug-in’s version increments with each release. The exact semantics are up to the plug-in developer.
To support versioning, each plug-in within a bundle defines its current version number as a string value with a version key in the plug-in’s entry in the ProPlugPlugInList array in the plug-in’s Info.plist.
When a project is first created, the host application remembers the version number of each plug-in used in that project. Later, when the user opens the project, a plug-in can query the value of versionAtCreation and then handle any backward-compatibility issues.