CoolLib — Native iOS Client
A premium, high-performance library management experience leveraging modern Apple frameworks. Built with Clean Architecture and Structured Concurrency, it delivers an offline-first workflow synced with the Spring backend.
Architectural Philosophy
CoolLib iOS is a testament to Protocol-Oriented Programming (POP). By utilizing the latest Swift 6 features and a declarative UI approach, the application achieves a highly testable and decoupled codebase that prioritizes both developer velocity and end-user fluidity.
Key Technical Wins
Protocol-Oriented Architecture
Implemented Clean Architecture (MVVM) with strict abstraction layers, utilizing Swift Protocols for decoupled and mockable business logic.
Modern Concurrency
Leveraged Structured Concurrency (Async/Await) to handle parallel data fetching and repository mapping, eliminating callback-based complexity.
Declarative Persistence
Integrated SwiftData for model-centric local storage, enabling seamless Offline-First synchronization and state management.
Reactive UI Pipeline
Engineered a responsive binding layer using the Observation framework and Combine, ensuring real-time UI consistency across complex views.
iOS Data Flow
*Consistent with the Android architecture using Protocol-Oriented Programming.*
Single Source of Truth
*The Repository coordinates between SwiftData and URLSession to ensure offline availability and performance.*
Tech Stack
- UI Framework: SwiftUI, SF Symbols, Custom ViewModifiers, Core Animation
- Logic & Concurrency: MVVM, Use Cases, Async/Await, Observation, Combine
- Data Management: URLSession (REST API), SwiftData (Persistence), Codable
Core Features
Loan Management
Library Analytics
Advanced Search
Signature Design
Engineered with passion by Ryan Su © 2026