Instance Property

formatVersion

A version number for the adjustment data format.

Declaration

@property(readonly, copy) NSString *formatVersion;

Discussion

Set this identifier when creating an adjustment object with the initWithFormatIdentifier:formatVersion:data: method.

Read this property, and the formatIdentifier property, to determine whether the adjustment data saved with an asset was created by your app or is otherwise compatible with your app.

For example, in the first version of your app, you might save adjustment data using the identifier com.example.myApp and version 1.0. If a later version of your app adds incompatible information to the adjustment data, you can use the same identifier and increase the version number to 2.0.

See Also

Identifying the Format of an Adjustment’s Data

formatIdentifier

A string uniquely identifying the format of the adjustment data.