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.
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.
PageSizeinitializerinit(_:name:)
Useinit(size:name:)instead.TextSearchpropertycompareOptions
UsecomparisonOptionsinstead. Note thatNSString.CompareOptions.regularExpressionmaps toTextSearch.ComparisonOptions.smart, not toTextSearch.ComparisonOptions.regularExpression.PDFViewinitializers that took anObservedObject<Document>
Pass theDocumentdirectly as a parameter instead.