How acromace/dreambig works
• App Initialization & Core: Include the AppDelegate (found in DreamBig/Camera/AppDelegate.swift) as the entry point that initializes the app and sets up any shared configurations or ARKit sessions.
• Camera/AR Module: Represent this as a component that handles ARKit operations and the iOS camera. This module includes:
– CameraViewController and its associated scene files (CameraViewController.storyboard, Scene.sks, and Scene.swift). This part is responsible for managing the AR session and rendering the real-world camera view.
• Drawing Module: Represent this as a separate component responsible for capturing the drawing input and processing the Apple Pencil interactions.
– This includes DrawingViewController, DrawingModel, and any custom views like DrawingImageView, which manage the actual drawing experience.
• Emoji Palette Submodule: Since the project provides an emoji-based drawing palette (found under DreamBig/Drawing/EmojiPalette), treat this as its own subcomponent that integrates with the drawing module. This should show how the emoji palette (with its own table view controllers and cells) is invoked from the drawing interface.
• Assets & Storyboards: Although not “active” components, these still play roles in providing design resources – include an “Assets” component (DreamBig/Assets.xcassets) and note the usage of Storyboards for UI layout in both Camera and Drawing modules.
Relationships & Data Flows
• AppDelegate to the Camera/AR module, indicating that it initializes or configures the ARKit session.
• Within the Drawing module, show interactions between the DrawingViewController (UI component) and the DrawingModel (business logic) along with the integration of the Emoji Palette as a plug-in/overlay.
• That inputs from the Apple Pencil are captured within the Drawing module and that these inputs are processed (possibly sending commands or state changes back to the UI and/or model).
Architectural Patterns and Design Principles
• Clearly denote an MVC pattern – label view controllers (CameraViewController, DrawingViewController) as “View” components, and DrawingModel as the “Model”.
• If there are any indications of delegated interactions (for example, between the Emoji Palette and DrawingViewController), label these interactions as delegation or callback channels.
• How ARKit and possibly SpriteKit (via use of .sks files) are modern frameworks integrated into the user experiences.
Incorporate Relevant Technologies and Configuration Files
• Optionally, note that the Info.plist is the configuration file where many app constants are declared.