Nutrient iOS SDK 12.2 migration guide
This guide covers updating an iOS or Mac Catalyst project from Nutrient iOS SDK 12 or Nutrient iOS SDK 12.1 to Nutrient iOS SDK 12.2. Update as soon as possible to take advantage of future new features and fixes.
Removed deprecated APIs
This version of Nutrient iOS SDK removes APIs that have been deprecated for more than a year. Consequently, it removes APIs that were deprecated from Nutrient iOS SDK 11 to Nutrient iOS SDK 11.4.
The table below summarizes the APIs removed in this release:
| Removed Deprecated API | Migration Strategy |
|---|---|
FileManager.fileHandleForWriting(to:withBlock:) | Nutrient didn’t call this method. Use NSFileCoordinator and NSFileHandle directly. |
FileManager.fileHandle(forUpdating:withBlock:) | Nutrient didn’t call this method. Use NSFileCoordinator and NSFileHandle directly. |
RenderOptions.drawAppearanceStream | This property was set to true by Nutrient iOS SDK to suppress drawing the existing appearance stream of an annotation when generating a new one. Due to changes in the drawing model for annotations in Nutrient iOS SDK 10.2, this is obsolete. |
ColorPickerFactory | Nutrient now uses the system color picker, which doesn’t support customizing the available colors. |
ColorPalette | Nutrient now uses the system color picker, which doesn’t support customizing the available colors. |
ColorPatch | Nutrient now uses the system color picker, which doesn’t support customizing the available colors. |
ColorPatch.ColorSet | Nutrient now uses the system color picker, which doesn’t support customizing the available colors. |