Project Structure

Describing Project Structure for the code.

Before we begin, here is the project structure when opening the project in Xcode:

Describing Project Code Directories

--ZusExample
--Bolt(directory)
  --App(directory)
    --BoltHome.swift(Defines Home Screen for the Bolt App)
    --TransactionDetails.swift(Defines how transaction details should be viewed in the App)
  --Model(directory)
    --Balance.swift(Balance data model)
    --Transaction.swift(Transaction data model)
    --Wallet.swift(Wallet data model)
  --View(directory)
    --AvailableBalanceBlock.swift(Available balance view component)
    --WalletActionStack.swift(Wallet action view component)
  --ViewModel(directory)
    --BoltViewModel.swift(View Model for Bolt Section)
--Common(directory)
  --App(directory)
    --AppSelectionView.swift(App selection screen):
    --CreateWalletView.swift(Wallet creation screen):
    --Launch.storyboard(App launch screen):
    --ZusExampleApp.swift(App Main Screen):
--Model(directory)
  --NetworkConfig.swift(Network configuration data)
--ViewModel(directory)
  --ZcnCoreManager.swift(Home View Model)
--Utils(directory)
  --Extension(directory)
    --Bundle.swift(Bundle extension utility)
    --Image.swift(Image extension utility)
    --Number.swift(Number extension utility)
    --String.swift(String extension utility)
    --SwiftUI.swift(SwiftUI extension utility)
  --GoSDK(directory)
  --Resources(directory)
  --Utils.swift(Miscellaneous utility functions)
--Vult(directory)
  --App(directory)
    --AllocationDetailsView.swift(Allocation details screen)
    --VultHome.swift(Vult screen)
  --Model(directory)
    --Allocations.swift(Allocations data model)
    --File.swift(File data model)
  --View(directory)
    --AllocationActionStack.swift(Allocation action view component)
    --AllocationDetailsBlock.swift(Allocation details view component)
    --FilesTable.swift(Files table view component)
    --ZCNProgressStyle.swift(Allocation Progress style component)
  --ViewModel(directory)
    --VultViewModel.swift(View model for Vult section)
--Info.plist(file): Information property list for the app

Last updated