Skip to content

0.1.0

Compare
Choose a tag to compare
@0xLeif 0xLeif released this 04 Jan 03:11
· 30 commits to main since this release
af8d44e

ios-base

The OpenBytes template for iOS projects using SwiftUI

Project

Structure

  • base
    • App: SwiftUI App and Views
    • Data
      • Mock: Static mock data and json reading functionality.
      • Network: Network data models used in Services and Adapters.
      • Adapters: Objects that can convert from Network to Device or Device to Network models.
      • JSON: Network data model JSON files.
      • Device: Device data models used in SwiftUI Views and ViewModels. Device models should be created from Network models by using Adapters.
    • FileStorage: Local storage functionality.
    • Navigation: SwiftUI NavigationPath using an object called CartographyPath and CartographyView. There is also the ability to present toasts, alerts, modals, and action sheets using the CartographyPath.
    • Networking: Networking functionality.
    • Notifications: Local Notification functionality.
    • Persistence
      • Caching
        • Image: Memory storage for Images, used in ImageView.
        • Data: Memory storage for anything conforming to DataCaching.
    • Preview Content
    • Settings: Shared app data and state.
    • Utilities: Miscellaneous app utilities.
  • baseTests
    • Adapters: Test Network to Device and Device to Network transformations.
    • Persistence: Tests for Persistence and Caching.
    • UserRegistration: Tests for register using ViewModels and DI.
    • Validation: Tests for different types of data validation.

Dependency List

  • OpenBytes o
    • Allows us to get the input and set the output of file, url, the console, and UserNotifications.
  • OpenBytes c
    • Allows us to transform types from one to another while also providing us the various caching options.
  • Fork
    • Fork allows us to run multiple asynchronous tasks at the same time.

Full Changelog: https://github.com/0xOpenBytes/ios-base/commits/0.1.0