iOS SDK Introduction
Technical requirements and features of the Petnow iOS SDK.
Latest Version
| Module | Version |
|---|---|
| UI Module | 1.3.0 |
Server API Recommended: Pet management tasks like registration, authentication, and identification should be performed on the server through Server API. The client is only responsible for capturing with the UI module.
iOS SDK Features
The Petnow iOS SDK is a native framework written in Swift, compatible with both SwiftUI and UIKit.
SDK Architecture
Key Components
UI Module
CameraView- A SwiftUI View that displays camera preview and detection overlay.
- Receives CameraViewModel injection to display detection results.
CameraViewModel- Manages camera session and detection logic, and publishes state.
Usage Method
- Swift Package Manager (SPM)
- Distributed through AWS CodeArtifact
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