iOS SDK Introduction
An introduction to the technical requirements and features of the Petnow iOS SDK.
Latest Version
| Module | Version |
|---|---|
| UI Module | 1.4.0 |
Server API recommended: Perform pet management tasks such as registration, verification, and identification on your server through the Server API. The client is responsible only for capture via the UI module.
iOS SDK Features
The Petnow iOS SDK is a native framework written in Swift that can be used with both SwiftUI and UIKit.
SDK Structure
Key Components
UI Module
CameraView- A SwiftUI View that displays the camera preview and detection overlay.
- Takes an injected CameraController and displays detection results.
CameraController- Manages the camera session and detection logic, and publishes state.
Usage Methods
- Swift Package Manager (SPM)
- Use via AWS CodeArtifact
- CocoaPods — support planned
The iOS SDK is distributed via Swift Package Manager (SPM). CocoaPods support is planned.
Technical Requirements
- Minimum iOS version: iOS 16.0 or later
- Xcode: 16.0 or later
- Swift: 5.7 or later
Next Steps
To integrate the SDK into your iOS app, refer to the following documents:
- Getting Started - Installation and initial setup
- UI Module - SwiftUI camera integration