Nutrient iOS SDK 14.9 migration guide

This guide covers updating an iOS, Mac Catalyst, or visionOS project from Nutrient iOS SDK 14.2 through 14.8 to Nutrient iOS SDK 14.9. We encourage you to update as soon as possible, in order to take advantage of future new features and fixes.

If you have any trouble with upgrading or doubts about the best migration strategy, get in touch with us through our support platform.

Removed previously deprecated APIs

This release removes APIs that were deprecated in Nutrient iOS SDK 13.3 and 13.4.

Warning

If your project uses any of the APIs listed below, you’ll need to update to the replacement as soon as you update to Nutrient iOS SDK 14.9.

  • PageSize initializer init(_:name:)
    Use init(size:name:) instead.

  • TextSearch property compareOptions
    Use comparisonOptions instead. Note that NSString.CompareOptions.regularExpression maps to TextSearch.ComparisonOptions.smart, not to TextSearch.ComparisonOptions.regularExpression.

  • PDFView initializers that took an ObservedObject<Document>
    Pass the Document directly as a parameter instead.