How saviosailas/witamy-ios works
Main Components
• App Lifecycle Components: Include AppDelegate.swift and SceneDelegate.swift. These form the entry points and lifecycle handlers for the app.
• UI Layer: Represent the various view components found under the “src/Witamy/View” directory. Use separate nodes for HomeView, LoginView, and InfoCardView. Although the project does not explicitly show a “Model” folder, the views and their view models indicate a separation of UI and business logic.
• Business Logic / ViewModel Layer: Highlight the “src/Witamy/ViewModel/LoginViewModel.swift” as an example of how the application logic is separated from the UI, supporting the MVVM approach.
• Assets & Resource Management: Include a node for the Assets catalog (Assets.xcassets) and the storyboard (LaunchScreen.storyboard in Base.lproj) to indicate design assets and launch screens.
• Configuration & Metadata: Note the Info.plist and Xcode project files (extensions like .xcodeproj, project.pbxproj) as foundational for app configuration and build process.
Architectural Patterns and Design Principles
• Use of storyboard (LaunchScreen.storyboard) for initial UI and asset management shown in the Assets catalog.
• Mention dependency injection or data binding if these patterns are implemented, at least conceptually, between the View and ViewModel.