0% found this document useful (0 votes)
2 views2 pages

Code

The document outlines the structure of the Quick Sizer application, detailing its Xcode project files, source code organization, and various components including ViewControllers, ViewModels, Models, Utilities, and Resources. It includes specific files for application lifecycle management, preferences, and data models, as well as folders for unit and UI tests. Overall, it provides a comprehensive overview of the application's architecture and organization.

Uploaded by

ashdosi2009
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Code

The document outlines the structure of the Quick Sizer application, detailing its Xcode project files, source code organization, and various components including ViewControllers, ViewModels, Models, Utilities, and Resources. It includes specific files for application lifecycle management, preferences, and data models, as well as folders for unit and UI tests. Overall, it provides a comprehensive overview of the application's architecture and organization.

Uploaded by

ashdosi2009
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Quick Sizer/

├── Quick Sizer.xcodeproj/ (Xcode project file)


├── Quick Sizer/ (Source code and resources folder)
│ ├── AppDelegate.swift (Application lifecycle management)
│ ├── QuickSizerApp.swift (Main application entry point for Swift UI -
if using, otherwise could be Main.swift)
│ ├── ContentView.swift (If using SwiftUI, otherwise might not be
present)
│ ├── ViewControllers/ (Folder for View Controllers - for Storyboard
UI)
│ │ ├── Preferences/ (Subfolder for Preferences Window View
Controllers)
│ │ │ ├── GeneralPrefsViewController.swift
│ │ │ ├── KeyboardShortcutsPrefsViewController.swift
│ │ │ ├── SnapAreasPrefsViewController.swift
│ │ │ ├── CustomSizePositionPrefsViewController.swift
│ │ │ ├── AppLayoutsPrefsViewController.swift
│ │ │ ├── QuickThrowPrefsViewController.swift
│ │ │ ├── StashPrefsViewController.swift
│ │ │ ├── PinModePrefsViewController.swift
│ │ │ ├── MenuIconPrefsViewController.swift
│ │ │ ├── ... (other preference pane ViewControllers)
│ │ ├── AboutViewController.swift
│ │ ├── WelcomeViewController.swift (If implementing a Welcome/Onboarding
flow)
│ │ ├── ... (other general ViewControllers if needed)
│ ├── ViewModels/ (Folder for View Models or Data Controllers -
for managing data and logic)
│ │ ├── PreferencesViewModel.swift (For managing Preferences data and
persistence)
│ │ ├── ShortcutManager.swift (For handling keyboard shortcut registration
and actions)
│ │ ├── WindowManager.swift (Core logic for window sizing and positioning)
│ │ ├── SnapAreaManager.swift (Logic for handling snap areas and zones)
│ │ ├── ... (other manager classes as needed)
│ ├── Models/ (Folder for Data Models - structs, classes to
represent app data)
│ │ ├── Shortcut.swift (Data model for keyboard shortcuts)
│ │ ├── SnapArea.swift (Data model for snap area configurations)
│ │ ├── CustomSize.swift (Data model for custom window sizes)
│ │ ├── AppLayout.swift (Data model for saved app layouts)
│ │ ├── Preferences.swift (Struct or Class to hold all preference
settings)
│ │ ├── ... (other data models)
│ ├── Utilities/ (Folder for utility classes, helper functions,
extensions)
│ │ ├── AppDefaults.swift (For managing default application settings)
│ │ ├── ScreenHelpers.swift (Utility functions for screen and window
geometry)
│ │ ├── ... (other utility files)
│ ├── Resources/ (Resources folder)
│ │ ├── Assets.xcassets/ (Asset catalog for images, icons, colorsets)
│ │ │ ├── AppIcon.appiconset/
│ │ │ ├── AccentColor.colorset/ (If using Accent Colors)
│ │ │ ├── ... (other images and assets)
│ │ ├── Base.lproj/ (Base localization - English Storyboards and
strings)
│ │ │ ├── Main.storyboard (Main application Storyboard - Preferences
Window, Menu)
│ │ │ ├── MainMenu.xib (Main Menu if not defined in Storyboard)
│ │ ├── ChiaroStdBold.otf (Font file - if using custom font)
│ │ ├── InternetAccessPolicy.plist (If needed for macOS hardening)
│ ├── Supporting Files/ (Folder for Supporting Files)
│ │ ├── Info.plist (Application Info Property List)
│ │ ├── Entitlements.plist (Entitlements file if needed - likely not for
this app)
├── Quick SizerTests/ (Unit Tests folder - optional, but good
practice)
├── Quick SizerUITests/ (UI Tests folder - optional, but good practice)

You might also like