### PDFAppearanceModeManager Source: https://context7_llms Manage PDF appearance, viewing, and generation APIs in Swift using PDFAppearancemodeManager, with integration guides. ```APIDOC ## PDFAppearanceModeManager ### Description Nutrient iOS SDK exposes PDFAppearancemodeManager in Swift with integration guides for PDF appearance, viewing, and generation APIs. ### Method N/A (Class/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/pdfappearancemodemanager) ``` -------------------------------- ### ThumbnailBarMode Source: https://context7_llms Integrate ThumbnailBarMode in Swift for the PDF viewer, including API docs, code examples, and integration guidance. ```APIDOC ## ThumbnailBarMode ### Description Nutrient iOS SDK exposes ThumbnailBarMode in Swift for iOS, with API docs, code examples, and integration guidance for the PDF viewer. ### Method N/A (Enum/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/thumbnailbarmode) ``` -------------------------------- ### PageMode Source: https://context7_llms Control page navigation, viewing, and PDF generation with Swift APIs for Pagemode, including setup and integration guidance. ```APIDOC ## PageMode ### Description Nutrient iOS SDK Pagemode documentation covers Swift APIs for page navigation, viewing, and PDF generation, with setup, examples, and integration guidance. ### Method N/A (Enum/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/pagemode) ``` -------------------------------- ### AnnotationStateManager Source: https://context7_llms Manage annotation state in Swift using AnnotationStateManager, with integration details, API usage, and examples. ```APIDOC ## AnnotationStateManager ### Description Nutrient iOS SDK documentation covers AnnotationStateManager in Swift, detailing integration, API usage, state management, and practical examples. ### Method N/A (Class/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/annotationstatemanager) ``` -------------------------------- ### SignatureCreationViewController Source: https://context7_llms Integrate and customize SignatureCreationViewController for signature creation in the Nutrient PDF Viewer using Swift. ```APIDOC ## SignatureCreationViewController ### Description Nutrient iOS SDK provides Swift documentation for SignatureCreationViewController usage, customization, and integration with the Nutrient PDF Viewer. ### Method N/A (Class/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/signaturecreationviewcontroller) ``` -------------------------------- ### PDFViewState Source: https://context7_llms Manage PDF view state, annotations, and rendering precisely in Swift using PSPDFKitui.PDFViewstate. ```APIDOC ## PDFViewState ### Description Nutrient iOS SDK exposes PSPDFKitui.PDFViewstate in Swift to provide precise PDF view state management, annotations, and rendering for mobile apps. ### Method N/A (Class/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/pdfviewstate) ``` -------------------------------- ### Initialize PDFTabbedViewController in Swift Source: https://www.nutrient.io/api/ios/documentation/pspdfkitui/pdftabbedviewcontroller This snippet demonstrates how to initialize and configure the PDFTabbedViewController in Swift. It's essential for setting up the PDF viewer within your iOS application. No external dependencies are explicitly mentioned for this basic initialization. ```swift import PSPDFKitUI // Assuming you have a valid license and document path let documentPath = "path/to/your/document.pdf" let document = try! PSPDFDocument(url: URL(fileURLWithPath: documentPath)) let pdfTabbedViewController = PDFTabbedViewController(document: document) // Further configuration can be done here, e.g.: pdfTabbedViewController.isToolbarExtended = true // Present the view controller // self.present(pdfTabbedViewController, animated: true, completion: nil) ``` -------------------------------- ### API Reference: Instant.PSPDFInstanterrordocumentkey (Swift) Source: https://www.nutrient.io/api/ios/documentation/instant/pspdfinstanterrordocumentkey This section details the Instant.PSPDFInstanterrordocumentkey API within the Nutrient iOS SDK. It is designed to manage instant document keys, facilitating streamlined PDF instantiation on iOS platforms. The documentation includes schema information for better integration. ```swift /// Nutrient iOS SDK exposes Instant.PSPDFInstanterrordocumentkey in Swift to manage instant document keys and streamline PDF instantiation. ``` -------------------------------- ### Instant.Instantcacheentrystate API Reference (Swift) Source: https://www.nutrient.io/api/ios/documentation/instant/instantcacheentrystate Provides reference documentation for the Instant.Instantcacheentrystate API in the Nutrient iOS SDK. This API is designed for developers to integrate fast PDF viewing, generation, and security features into their iOS applications. ```swift { "@context": "https://schema.org", "@type": "APIReference", "headline": "Instant.Instantcacheentrystate", "description": "Nutrient iOS SDK Swift provides Instant.Instantcacheentrystate API, with fast PDF viewing, generation, and security features for developers.", "targetPlatform": "ios", "programmingLanguage": "Swift", "publisher": { "@type": "Organization", "name": "Nutrient", "logo": { "@type": "ImageObject", "url": "https://www.nutrient.io/_astro/nutrient-logo.CJxiofUP_Z1k1els.svg" }, "sameAs": [ "https://www.nutrient.io/company/about", "https://www.linkedin.com/company/nutrientdocs", "https://www.facebook.com/nutrientdocs/", "https://x.com/nutrientdocs", "https://www.youtube.com/channel/UCQFsRxB1vTDJ5N1NaNsZNrw" ] }, "author": { "@type": "Organization", "name": "Nutrient Documentation Team" }, "mainEntityOfPage": { "@type": "WebPage", "@id": "https://www.nutrient.io/api/ios/documentation/instant/instantcacheentrystate" } } ``` -------------------------------- ### ScrubberBar Source: https://context7_llms Use Scrubberbar Swift docs for PDF viewer integration, UI controls, and usage patterns. ```APIDOC ## ScrubberBar ### Description Nutrient iOS SDK Scrubberbar Swift docs cover integration, UI controls, and usage patterns for the PDF viewer and generation features. ### Method N/A (Class/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/scrubberbar) ``` -------------------------------- ### ThumbnailBar Source: https://context7_llms Integrate Thumbnailbar for Swift PDF viewer, offering thumbnail navigation and related documentation. ```APIDOC ## ThumbnailBar ### Description Nutrient iOS SDK Thumbnailbar for Swift offers PDF viewer integration, thumbnail navigation, and related documentation for building iOS PDF features. ### Method N/A (Class/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/thumbnailbar) ``` -------------------------------- ### ThumbnailViewController Source: https://context7_llms Integrate ThumbnailviewController in Swift for PDF viewer usage, steps, and API references. ```APIDOC ## ThumbnailViewController ### Description Nutrient iOS SDK documents ThumbnailviewController in Swift, detailing usage, integration steps, and API references for a PDF viewer. ### Method N/A (Class/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/thumbnailviewcontroller) ``` -------------------------------- ### PageTransition Source: https://context7_llms Enable customizable page transitions in the PDF Viewer control using PSPDFKitui.Pagetransition for Swift. ```APIDOC ## PageTransition ### Description Nutrient iOS SDK exposes PSPDFKitui.Pagetransition for Swift, enabling customizable page transitions in the PDF Viewer control. ### Method N/A (Enum/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/pagetransition) ``` -------------------------------- ### Configure PDF Document View Layout in Swift (PSPDFKit) Source: https://www.nutrient.io/api/ios/documentation/pspdfkitui/pdfdocumentviewlayout This snippet demonstrates how to configure the layout of a PDF document view using PSPDFKitui.PDFDocumentviewlayout in Swift. It allows for precise, programmatic UI customization within the Nutrient iOS SDK. No external dependencies beyond the SDK itself are explicitly mentioned for this functionality. ```swift import PSPDFKitUI // Assuming you have a PSPDFViewController instance let pdfViewController = PSPDFViewController() // Configure the view layout pdfViewController.view.layoutMargins = UIEdgeInsets(top: 20, left: 10, bottom: 20, right: 10) pdfViewController.displayMode = .single pdfViewController.pageViewController.transitionMode = .scrollContinuous // Further customization options can be explored based on PSPDFKit documentation. ``` -------------------------------- ### PSPDFKit PDFFormoption in Swift Source: https://www.nutrient.io/api/ios/documentation/pspdfkit/pdfformoption This documentation describes the PSPDFKit.PDFFormoption class available in the Nutrient iOS SDK. It allows developers to access and manipulate PDF form options programmatically within their native iOS applications using Swift. No external dependencies are explicitly mentioned, but it relies on the PSPDFKit framework. ```swift /// Represents options for PDF form handling. struct PDFFormoption { // Properties and methods for PDF form options would be defined here. // For example: // var isEditable: Bool // var isRequired: Bool // var placeholderText: String? } ``` -------------------------------- ### PSPDFKitui.Thumbnailbar API Reference (Swift) Source: https://www.nutrient.io/api/ios/documentation/pspdfkitui/thumbnailbar This is an API reference for the PSPDFKitui.Thumbnailbar component within the Nutrient iOS SDK. It is written in Swift and provides functionality for thumbnail navigation within a PDF viewer. The documentation highlights its role in enhancing user experience for PDF-based iOS applications. ```swift PSPDFKitui.Thumbnailbar ``` -------------------------------- ### StampViewController Source: https://context7_llms Use StampViewController API in Swift for iOS apps, covering usage, properties, methods, and integration guidance. ```APIDOC ## StampViewController ### Description Nutrient iOS SDK: StampViewController API documentation in Swift, with usage, properties, methods, and integration guidance for iOS apps. ### Method N/A (Class/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/stampviewcontroller) ``` -------------------------------- ### PDF UI Components API Source: https://context7_llms This section details the Swift APIs for integrating and customizing PDF viewing user interfaces within iOS applications using the Nutrient iOS SDK. ```APIDOC ## Nutrient iOS SDK PDF UI Components API ### Description This group of APIs focuses on the user interface aspects of PDF handling in iOS applications, providing components for viewing, configuration, and navigation within PDF documents using the Nutrient iOS SDK in Swift. ### Endpoints #### PSPDFKitui - **Description**: Covers PDF viewing, generation, and integration with other frameworks like React Native. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkitui #### PDFView - **Description**: Integrate and display PDF content within your iOS application. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkitui/pdfview #### PDFViewController - **Description**: A robust view controller for displaying and interacting with PDF documents. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkitui/pdfviewcontroller #### PDFConfiguration - **Description**: Guide for configuring the appearance and behavior of the PDF UI. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkitui/pdfconfiguration #### PDFTabbedViewController - **Description**: APIs for building a PDF viewer with tabbed navigation. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkitui/pdftabbedviewcontroller ``` -------------------------------- ### NoteAnnotationViewController Source: https://context7_llms Enable precise note annotations in PDF documents on iOS apps using NoteAnnotationViewController in Swift. ```APIDOC ## NoteAnnotationViewController ### Description Nutrient iOS SDK offers Swift access to NoteAnnotationViewController for precise note annotations in PDF documents on iOS apps. ### Method N/A (Class/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/noteannotationviewcontroller) ``` -------------------------------- ### Configure OCR Options with Processorocroptions in Swift Source: https://www.nutrient.io/api/ios/documentation/pspdfkitocr/processorocroptions The `Processorocroptions` class in the Nutrient iOS SDK for Swift is used to configure various parameters for Optical Character Recognition (OCR) processing. This allows developers to customize text extraction behavior, such as language selection and image preprocessing, to suit their specific application needs. It serves as a configuration object passed to the OCR processor. ```swift import NutrientOCR // Example of configuring OCR options let ocrOptions = Processorocroptions() // Set the language for OCR (e.g., English) osrcOptions.language = "en-US" // Enable or disable specific preprocessing steps if available osrcOptions.enableImagePreprocessing = true // You can then pass these options to your OCR processor // let processor = Processor() // processor.processImage(image: myImage, options: ocrOptions) { result in // // Handle OCR results // } ``` -------------------------------- ### PSPDFKit NoteAnnotation Implementation (Swift) Source: https://www.nutrient.io/api/ios/documentation/pspdfkit/noteannotation This documentation entry pertains to the implementation of NoteAnnotation within the PSPDFKit framework for the Nutrient iOS SDK. It covers the usage of Swift for integrating PDF annotation features, focusing on fast rendering, editing capabilities, and secure data storage. The target platform is iOS. ```swift { "@context": "https://schema.org", "@type": "APIReference", "headline": "PSPDFKit.NoteAnnotation", "description": "Nutrient iOS SDK Swift: Learn to implement NoteAnnotation for PDF annotations with fast rendering, editing, and secure storage.", "targetPlatform": "ios", "programmingLanguage": "Swift", "publisher": { "@type": "Organization", "name": "Nutrient", "logo": { "@type": "ImageObject", "url": "https://www.nutrient.io/_astro/nutrient-logo.CJxiofUP_Z1k1els.svg" }, "sameAs": [ "https://www.nutrient.io/company/about", "https://www.linkedin.com/company/nutrientdocs", "https://www.facebook.com/nutrientdocs/", "https://x.com/nutrientdocs", "https://www.youtube.com/channel/UCQFsRxB1vTDJ5N1NaNsZNrw" ] }, "author": { "@type": "Organization", "name": "Nutrient Documentation Team" }, "mainEntityOfPage": { "@type": "WebPage", "@id": "https://www.nutrient.io/api/ios/documentation/pspdfkit/noteannotation" } } ``` -------------------------------- ### ThumbnailGrouping Source: https://context7_llms Utilize PSPDFKitui.Thumbnailgrouping in Swift for thumbnail grouping APIs, usage, and integration with the PDF viewer. ```APIDOC ## ThumbnailGrouping ### Description Nutrient iOS SDK doc for PSPDFKitui.Thumbnailgrouping in Swift, detailing thumbnail grouping APIs, usage, and integration with the viewer. ### Method N/A (Enum/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/thumbnailgrouping) ``` -------------------------------- ### ReaderViewController Source: https://context7_llms Enable Swift apps to render PDFs, customize the viewer, and integrate PDF workflows using ReaderViewController. ```APIDOC ## ReaderViewController ### Description Nutrient iOS SDK ReaderViewController enables Swift apps to render PDFs, customize the viewer, and integrate PDF workflows. ### Method N/A (Class/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/readerviewcontroller) ``` -------------------------------- ### PSPDFKitui.ThumbnailviewController API Reference (Swift) Source: https://www.nutrient.io/api/ios/documentation/pspdfkitui/thumbnailviewcontroller This section details the PSPDFKitui.ThumbnailviewController in Swift, part of the Nutrient iOS SDK. It outlines the controller's purpose, integration steps, and available API methods for managing PDF thumbnails within a viewer. ```swift /** A view controller that displays thumbnails for a PDF document. ## Usage To use `ThumbnailviewController`, you typically integrate it within your PDF viewing interface. ## Integration ```swift let thumbnailVC = ThumbnailviewController(pdfDocument: myPdfDocument) // Present or embed thumbnailVC in your view hierarchy ``` ## API References Refer to the official Nutrient iOS SDK documentation for a complete list of properties and methods available on `ThumbnailviewController`. */ class ThumbnailviewController: UIViewController { // ... implementation details ... } ``` -------------------------------- ### Initialize Google Tag Manager (GTM) in JavaScript Source: https://www.nutrient.io/api/ios/documentation/instant/pspdfinstanterrorannotationidentifierkey This snippet initializes Google Tag Manager (GTM) by dynamically creating a script tag and appending it to the document's head. It ensures GTM is loaded with the provided container ID. ```javascript (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-T6LGJJC'); ``` -------------------------------- ### Implement ButtonFormField in Swift - Nutrient iOS SDK Source: https://www.nutrient.io/api/ios/documentation/pspdfkit/buttonformfield This snippet demonstrates how to implement a ButtonFormField in Swift using the Nutrient iOS SDK. It covers the basic API usage for creating and configuring a button form field within a PDF document. No external dependencies are required beyond the SDK itself. ```swift import PSPDFKit // Assuming 'document' is an instance of PSPDFKit.Document // and 'page' is an instance of PSPDFKit.Page let buttonFormField = PSPDFButtonFormField() buttonFormField.fieldName = "submitButton" buttonFormField.label = "Submit" buttonFormField.rect = CGRect(x: 100, y: 100, width: 80, height: 30) // Add the form field to the page page.addFormField(buttonFormField) ``` -------------------------------- ### Error Annotation Identifier Key for PDF Instantiation in Swift Source: https://www.nutrient.io/api/ios/documentation/instant/pspdfinstanterrorannotationidentifierkey This documentation entry details the 'Instant.PSPDFInstanterrorannotationidentifierkey' in Swift for the Nutrient iOS SDK. It explains how to handle error annotation identifiers during PDF instantiation. ```swift // Documentation for Instant.PSPDFInstanterrorannotationidentifierkey // This key is used for handling error annotation identifiers during PDF instantiation in Swift. ``` -------------------------------- ### PDFDocumentViewController Source: https://context7_llms Integrate PDFDocumentViewController for viewing PDFs, configuring UI, and handling annotations in your Swift app. ```APIDOC ## PDFDocumentViewController ### Description Nutrient iOS SDK provides Swift APIs to integrate PDFDocumentViewController for viewing PDFs, configuring UI, and handling annotations in your app. ### Method N/A (Class/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/pdfdocumentviewcontroller) ``` -------------------------------- ### PDFSettingsViewController Source: https://context7_llms Configure viewer settings, customize UI, and integrate PDF viewing in iOS apps using PDFSettingsViewController in Swift. ```APIDOC ## PDFSettingsViewController ### Description Nutrient iOS SDK exposes PDFSettingsViewController in Swift to configure viewer settings, customize UI, and integrate PDF viewing in iOS apps. ### Method N/A (Class/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/pdfsettingsviewcontroller) ``` -------------------------------- ### PSPDFKitui.PDFViewController API Reference (Swift) Source: https://www.nutrient.io/api/ios/documentation/pspdfkitui/pdfviewcontroller This entry references the PSPDFKitui.PDFViewController class available in the Nutrient iOS SDK. It is designed for robust PDF viewing capabilities within iOS applications. Developers can use this to integrate advanced PDF functionalities. ```swift PSPDFKitui.PDFViewController ``` -------------------------------- ### PSPDFKit ImageDocument API (Swift) Source: https://www.nutrient.io/api/ios/documentation/pspdfkit/imagedocument The PSPDFKit.ImageDocument class in the Nutrient iOS SDK allows developers to work with image documents using Swift. It enables the creation, manipulation, and integration of image-based documents into PDF workflows within iOS applications. ```swift /// PSPDFKit.ImageDocument /// Nutrient iOS SDK exposes ImageDocument APIs for image documents in Swift, enabling creation, manipulation, and viewing within PDF workflows. ``` -------------------------------- ### Nutrient iOS SDK: Instant.PSPDFInstantjwtkey in Swift Source: https://www.nutrient.io/api/ios/documentation/instant/pspdfinstantjwtkey The Nutrient iOS SDK exposes the Instant.PSPDFInstantjwtkey functionality in Swift. This is used for secure handling of instant JWT keys, facilitating fast PDF viewing, generation, and integration. It requires the Nutrient SDK to be integrated into your iOS project. ```swift // Example usage of Instant.PSPDFInstantjwtkey in Swift // Ensure the Nutrient SDK is properly integrated into your project. // Refer to Nutrient's official documentation for detailed implementation steps. ``` -------------------------------- ### AnnotationStyleViewController Source: https://context7_llms Configure and manage PDF annotation styles in the UI using AnnotationStyleViewController in Swift. ```APIDOC ## AnnotationStyleViewController ### Description Nutrient iOS SDK exposes AnnotationStyleViewController in Swift to configure and manage PDF annotation styles within the UI. ### Method N/A (Class/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/annotationstyleviewcontroller) ``` -------------------------------- ### PSPDFKit CircleAnnotation API Reference (Swift) Source: https://www.nutrient.io/api/ios/documentation/pspdfkit/circleannotation Provides Swift APIs for CircleAnnotation in the Nutrient iOS SDK. Enables precise circle annotations in PDFs with support for fast rendering and editing. ```swift /// PSPDFKit.CircleAnnotation /// /// Nutrient iOS SDK provides Swift APIs for CircleAnnotation, enabling precise circle annotations in PDFs with fast rendering and editor support. ``` -------------------------------- ### API Reference: Instant.PSPDFInstanterrordocumentdescriptorkey (Swift) Source: https://www.nutrient.io/api/ios/documentation/instant/pspdfinstanterrordocumentdescriptorkey This API reference details the Instant.PSPDFInstanterrordocumentdescriptorkey function within the Nutrient iOS SDK. It is used to generate structured PDF error descriptions in Swift applications. The target platform is iOS. ```swift /// Produces structured PDF error descriptions. /// /// - Returns: A structured description of the PDF error. func pspdfInstanterrordocumentdescriptorkey() -> String ``` -------------------------------- ### Initialize PolygonAnnotation in Swift Source: https://www.nutrient.io/api/ios/documentation/pspdfkit/polygonannotation This snippet demonstrates how to initialize a PolygonAnnotation object in Swift for the Nutrient iOS SDK. It requires the `PSPDFKit` framework and defines the points for the polygon. ```swift import PSPDFKit // Define the points for the polygon let points = [ CGPoint(x: 100, y: 100), CGPoint(x: 200, y: 100), CGPoint(x: 200, y: 200), CGPoint(x: 100, y: 200) ] // Initialize the PolygonAnnotation let polygonAnnotation = PSPDFKit.PolygonAnnotation(rect: .zero, points: points) ``` -------------------------------- ### Create PDF Comment Marker Annotation - Swift Source: https://www.nutrient.io/api/ios/documentation/instant/instantcommentmarkerannotation This Swift code demonstrates how to create and manage PDF comment marker annotations using the Nutrient iOS SDK. It details the necessary steps and potential configurations for adding interactive comment markers to PDF documents within an iOS application. This functionality is crucial for applications that require PDF annotation features. ```swift /* This is a placeholder for Swift code related to Instant.instantcommentmarkerAnnotation. The actual implementation details would be provided by the Nutrient iOS SDK documentation. Example usage might involve: - Instantiating an annotation object. - Setting properties like position, author, and content. - Adding the annotation to a PDF document. */ ``` -------------------------------- ### PSPDFKitui.UserinterfaceView for Swift PDF Rendering Source: https://www.nutrient.io/api/ios/documentation/pspdfkitui/userinterfaceview The UserinterfaceView from the PSPDFKitui library in the Nutrient iOS SDK allows for embedded PDF UI rendering within iOS applications. It is built for Swift and focuses on secure and performant document display. No specific dependencies are mentioned beyond the SDK itself. ```swift /// Nutrient iOS SDK exposes UserinterfaceView for Swift, enabling embedded PDF UI in iOS apps with secure, performant rendering. ``` -------------------------------- ### ScrubberBarType Source: https://context7_llms Customize PDF UI and implement scrubber bar controls in Swift using Scrubberbartype, referencing documentation samples. ```APIDOC ## ScrubberBarType ### Description Use Nutrient iOS SDK Scrubberbartype in Swift to customize the PDF UI, implement scrubber bar controls, and consult documentation samples. ### Method N/A (Enum/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/scrubberbartype) ``` -------------------------------- ### PDFAppearanceMode Source: https://context7_llms Customize the PDF viewer's appearance in your Swift app using PDFAppearanceMode, with integration guidance and sample code. ```APIDOC ## PDFAppearanceMode ### Description Nutrient iOS SDK exposes PDFAppearanceMode for Swift to customize the PDF viewer in your app with integration guidance and sample code. ### Method N/A (Enum/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/pdfappearancemode) ``` -------------------------------- ### PSPDFKitui.PDFViewstate API Reference (Swift) Source: https://www.nutrient.io/api/ios/documentation/pspdfkitui/pdfviewstate This documentation entry details the PSPDFKitui.PDFViewstate class within the Nutrient iOS SDK. It is designed for precise management of PDF view states, including annotations and rendering, specifically for iOS mobile applications. The class is implemented in Swift. ```swift { "@context": "https://schema.org", "@type": "APIReference", "headline": "PSPDFKitui.PDFViewstate", "description": "Nutrient iOS SDK exposes PSPDFKitui.PDFViewstate in Swift to provide precise PDF view state management, annotations, and rendering for mobile apps.", "targetPlatform": "ios", "programmingLanguage": "Swift", "publisher": { "@type": "Organization", "name": "Nutrient", "logo": { "@type": "ImageObject", "url": "https://www.nutrient.io/_astro/nutrient-logo.CJxiofUP_Z1k1els.svg" }, "sameAs": [ "https://www.nutrient.io/company/about", "https://www.linkedin.com/company/nutrientdocs", "https://www.facebook.com/nutrientdocs/", "https://x.com/nutrientdocs", "https://www.youtube.com/channel/UCQFsRxB1vTDJ5N1NaNsZNrw" ] }, "author": { "@type": "Organization", "name": "Nutrient Documentation Team" }, "mainEntityOfPage": { "@type": "WebPage", "@id": "https://www.nutrient.io/api/ios/documentation/pspdfkitui/pdfviewstate" } } ``` -------------------------------- ### API Base URL Configuration (JavaScript) Source: https://www.nutrient.io/api/ios/documentation/instant Defines the base URL for API requests specific to the iOS platform. This variable is used to construct full API endpoints for interacting with the Nutrient backend services from the iOS application. It simplifies API call management. ```javascript var baseUrl = "/api/ios/" ``` -------------------------------- ### PSPDFKitUI Thumbnail Grouping API (Swift) Source: https://www.nutrient.io/api/ios/documentation/pspdfkitui/thumbnailgrouping Documentation for PSPDFKitUI.Thumbnailgrouping in Swift. This API allows for the grouping of thumbnails within the PDF viewer, enhancing navigation and organization. It is part of the Nutrient iOS SDK. ```swift PSPDFKitui.Thumbnailgrouping ``` -------------------------------- ### PDF Form Elements API Source: https://context7_llms This section details the Swift APIs provided by the Nutrient iOS SDK for interacting with various PDF form elements, including text fields, choice fields, buttons, and signatures. ```APIDOC ## Nutrient iOS SDK PDF Form Elements API ### Description This group of APIs allows developers to work with different types of form elements within PDF documents using the Nutrient iOS SDK in Swift. This includes creating, rendering, interacting with, and extracting data from form fields. ### Endpoints #### Annotation.Variant - **Description**: Provides Swift variant annotation support for PDF documents. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkit/annotation/variant-swift.struct #### ButtonFormElement - **Description**: Enables precise handling of form buttons within PDF documents. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkit/buttonformelement #### ButtonFormField - **Description**: Implement and manage button form fields in PDF documents. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkit/buttonformfield #### ChoiceFormElement - **Description**: API for handling choice form elements in PDF documents, facilitating PDF viewing and generation. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkit/choiceformelement #### ChoiceFormField - **Description**: Create, validate, and extract data from choice form fields in native iOS applications. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkit/choiceformfield #### FormElement - **Description**: APIs for rendering and editing form elements, enabling PDF interaction. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkit/formelement #### PDFFormField - **Description**: Access to read and write PDF form fields within iOS applications. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkit/pdfformfield #### PDFFormOption - **Description**: Access and manipulate options for PDF form fields. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkit/pdfformoption #### PDFFormParser - **Description**: Efficiently parse and extract data from PDF forms. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkit/pdfformparser #### SignatureFormElement - **Description**: Documentation for handling signature form elements in PDF documents. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkit/signatureformelement #### SignatureFormField - **Description**: Automate form fields and digital signatures for secure PDF form handling. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkit/signatureformfield #### TextFieldFormElement - **Description**: Precise handling of text fields within PDF forms. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkit/textfieldformelement #### TextFormField - **Description**: Create, customize, and validate text fields in PDF documents. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkit/textformfield ``` -------------------------------- ### OCR and PDF Processing API Source: https://context7_llms This section covers the Swift APIs for Optical Character Recognition (OCR) and PDF processing offered by the Nutrient iOS SDK. ```APIDOC ## Nutrient iOS SDK OCR and PDF Processing API ### Description This group of APIs provides Optical Character Recognition (OCR) capabilities and PDF processing tools for iOS applications using the Nutrient iOS SDK in Swift. ### Endpoints #### PSPDFKitocr - **Description**: Provides Swift-based OCR and PDF viewing functionalities for iOS. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkitocr #### ProcessorOCROptions - **Description**: Configure OCR processing parameters for customized text extraction in iOS apps. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkitocr/processorocroptions #### OCRLanguage - **Description**: Enables OCR in PDFs by specifying the language for text extraction. - **API Reference**: https://www.nutrient.io/api/ios/documentation/pspdfkitocr/ocrlanguage ``` -------------------------------- ### PSPDFKitui.LinkannotationeditingviewController in Swift Source: https://www.nutrient.io/api/ios/documentation/pspdfkitui/linkannotationeditingviewcontroller The LinkAnnotationEditingViewController is part of the Nutrient iOS SDK, written in Swift. It facilitates the editing of link annotations within PDF documents. The documentation provides guidance on its API usage and integration into iOS applications. ```swift /// Documentation for PSPDFKitui.LinkannotationeditingviewController /// /// - Note: This class is part of the Nutrient iOS SDK and is used for editing link annotations in PDFs. /// - Target Platform: iOS /// - Programming Language: Swift // Example usage (conceptual): // let editingViewController = LinkAnnotationEditingViewController() // // Configure and present the view controller... ``` -------------------------------- ### PSPDFKit RedactionAnnotation API for Swift Source: https://www.nutrient.io/api/ios/documentation/pspdfkit/redactionannotation This documentation entry outlines the PSPDFKit RedactionAnnotation API for the Nutrient iOS SDK, written in Swift. It details how to use this API for secure redaction within PDF documents, providing necessary integration guidance. ```swift // Documentation for PSPDFKit.RedactionAnnotation API // This API is part of the Nutrient iOS SDK and is used for secure redaction in PDFs. ``` -------------------------------- ### PSPDFKit PDFFormParser API - Swift Source: https://www.nutrient.io/api/ios/documentation/pspdfkit/pdfformparser This Swift code snippet demonstrates the usage of the PDFFormParser API from the PSPDFKit library within the Nutrient iOS SDK. It facilitates the parsing of PDF forms, enabling the extraction of form data and field information. This requires the PSPDFKit framework to be integrated into your iOS project. ```swift let parser = PSPDFKit.PDFFormParser() // Use the parser to process PDF forms ``` -------------------------------- ### ScrollDirection Source: https://context7_llms Handle scroll direction and API usage for PDF viewing with PSPDFKitui.Scrolldirection in Swift. ```APIDOC ## ScrollDirection ### Description Nutrient iOS SDK exposes PSPDFKitui.Scrolldirection in Swift, detailing scroll direction handling, API usage, and integration guidance for PDF viewing. ### Method N/A (Enum/Struct) ### Endpoint N/A (iOS SDK Component) ### Parameters N/A ### Request Example N/A ### Response N/A ### Further Information [View Documentation](https://www.nutrient.io/api/ios/documentation/pspdfkitui/scrolldirection) ``` -------------------------------- ### PSPDFKit SquareAnnotation for Swift PDF Annotation (Swift) Source: https://www.nutrient.io/api/ios/documentation/pspdfkit/squareannotation The PSPDFKit.SquareAnnotation class in the Nutrient iOS SDK allows developers to add square annotations to PDF documents using Swift. This is a core component for building robust PDF annotation features in iOS applications. ```swift /// Nutrient iOS SDK exposes SquareAnnotation for Swift to annotate PDFs, enabling a robust PDF viewer, generation, and integration guidance. ``` -------------------------------- ### PSPDFKit InkAnnotation Class (Swift) Source: https://www.nutrient.io/api/ios/documentation/pspdfkit/inkannotation The InkAnnotation class in the Nutrient iOS SDK, implemented in Swift, allows for the creation and management of precise ink annotations on PDF documents. It is designed for robust rendering and secure handling of annotation data. ```swift PSPDFKit.InkAnnotation ``` -------------------------------- ### NoteAnnotationViewController API Reference (Swift) Source: https://www.nutrient.io/api/ios/documentation/pspdfkitui/noteannotationviewcontroller Provides Swift access to the NoteAnnotationViewController for managing note annotations within PDF documents using the Nutrient iOS SDK. This class is essential for implementing interactive note-taking features in your iOS application. ```swift /// Nutrient iOS SDK offers Swift access to NoteAnnotationViewController for precise note annotations in PDF documents on iOS apps. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.