├── .gitignore ├── LICENSE ├── README.md ├── Returns.xcodeproj ├── project.pbxproj └── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ ├── IDEWorkspaceChecks.plist │ └── swiftpm │ └── Package.resolved ├── Shared ├── Assets.xcassets │ ├── AccentColor.colorset │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── icon_128x128.png │ │ ├── icon_128x128@2x.png │ │ ├── icon_16x16.png │ │ ├── icon_16x16@2x.png │ │ ├── icon_256x256.png │ │ ├── icon_256x256@2x.png │ │ ├── icon_32x32.png │ │ ├── icon_32x32@2x.png │ │ ├── icon_512x512.png │ │ └── icon_512x512@2x.png │ ├── Cell Colors │ │ ├── Contents.json │ │ ├── nullCellColor.colorset │ │ │ └── Contents.json │ │ └── readonlyCellColor.colorset │ │ │ └── Contents.json │ ├── Contents.json │ ├── PriceGreen.colorset │ │ └── Contents.json │ ├── PriceRed.colorset │ │ └── Contents.json │ └── ReturnsGreen.colorset │ │ └── Contents.json ├── Extensions │ ├── Date.swift │ └── Decimal.swift ├── Models │ ├── Account.swift │ ├── Calculations │ │ ├── Balance.swift │ │ ├── ChartData.swift │ │ ├── Return.swift │ │ └── irr.swift │ ├── Currency │ │ ├── Cryptocurrency.swift │ │ ├── Currency.swift │ │ ├── CurrencyFormatter.swift │ │ └── CurrencySymbol.swift │ ├── Portfolio │ │ ├── Portfolio.swift │ │ ├── PortfolioConfig.swift │ │ └── PortfolioSettings.swift │ └── Record.swift ├── Persistence.swift ├── Returns.xcdatamodeld │ ├── .xccurrentversion │ └── Shared.xcdatamodel │ │ └── contents ├── ReturnsApp.swift └── Views │ └── ContentView.swift ├── badge-download-on-the-mac-app-store.svg ├── macOS ├── Commands.swift ├── Credits.rtf ├── Info.plist ├── InfoPlist.strings ├── Models │ ├── DeletingObject.swift │ ├── NavigationItem.swift │ └── PortfolioBuilder.swift ├── Returns.entitlements ├── Views │ ├── AccountRecords │ │ └── AccountRecordList.swift │ ├── Common │ │ ├── InputCellView.swift │ │ ├── LabelCellView.swift │ │ ├── ReadonlyCellView.swift │ │ └── TableViewController.swift │ ├── PortfolioListView.swift │ ├── PortfolioView │ │ ├── CalculationsView.swift │ │ ├── ConfigurePortfolioView.swift │ │ ├── GrowthChart.swift │ │ ├── OverviewChart.swift │ │ ├── PortfolioReturnView.swift │ │ └── PortfolioView.swift │ ├── Settings │ │ └── SettingsView.swift │ ├── Sidebar │ │ ├── AccountRow.swift │ │ ├── PortfolioRow.swift │ │ ├── RenameSheet.swift │ │ └── Sidebar.swift │ └── WelcomeView.swift ├── en.lproj │ └── Localizable.strings └── zh-Hans.lproj │ └── Localizable.strings └── returns.png /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/README.md -------------------------------------------------------------------------------- /Returns.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Returns.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Returns.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Returns.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Returns.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Returns.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Returns.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Returns.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved -------------------------------------------------------------------------------- /Shared/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/AccentColor.colorset/Contents.json -------------------------------------------------------------------------------- /Shared/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Shared/Assets.xcassets/AppIcon.appiconset/icon_128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/AppIcon.appiconset/icon_128x128.png -------------------------------------------------------------------------------- /Shared/Assets.xcassets/AppIcon.appiconset/icon_128x128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/AppIcon.appiconset/icon_128x128@2x.png -------------------------------------------------------------------------------- /Shared/Assets.xcassets/AppIcon.appiconset/icon_16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/AppIcon.appiconset/icon_16x16.png -------------------------------------------------------------------------------- /Shared/Assets.xcassets/AppIcon.appiconset/icon_16x16@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/AppIcon.appiconset/icon_16x16@2x.png -------------------------------------------------------------------------------- /Shared/Assets.xcassets/AppIcon.appiconset/icon_256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/AppIcon.appiconset/icon_256x256.png -------------------------------------------------------------------------------- /Shared/Assets.xcassets/AppIcon.appiconset/icon_256x256@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/AppIcon.appiconset/icon_256x256@2x.png -------------------------------------------------------------------------------- /Shared/Assets.xcassets/AppIcon.appiconset/icon_32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/AppIcon.appiconset/icon_32x32.png -------------------------------------------------------------------------------- /Shared/Assets.xcassets/AppIcon.appiconset/icon_32x32@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/AppIcon.appiconset/icon_32x32@2x.png -------------------------------------------------------------------------------- /Shared/Assets.xcassets/AppIcon.appiconset/icon_512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/AppIcon.appiconset/icon_512x512.png -------------------------------------------------------------------------------- /Shared/Assets.xcassets/AppIcon.appiconset/icon_512x512@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/AppIcon.appiconset/icon_512x512@2x.png -------------------------------------------------------------------------------- /Shared/Assets.xcassets/Cell Colors/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/Cell Colors/Contents.json -------------------------------------------------------------------------------- /Shared/Assets.xcassets/Cell Colors/nullCellColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/Cell Colors/nullCellColor.colorset/Contents.json -------------------------------------------------------------------------------- /Shared/Assets.xcassets/Cell Colors/readonlyCellColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/Cell Colors/readonlyCellColor.colorset/Contents.json -------------------------------------------------------------------------------- /Shared/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Shared/Assets.xcassets/PriceGreen.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/PriceGreen.colorset/Contents.json -------------------------------------------------------------------------------- /Shared/Assets.xcassets/PriceRed.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/PriceRed.colorset/Contents.json -------------------------------------------------------------------------------- /Shared/Assets.xcassets/ReturnsGreen.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Assets.xcassets/ReturnsGreen.colorset/Contents.json -------------------------------------------------------------------------------- /Shared/Extensions/Date.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Extensions/Date.swift -------------------------------------------------------------------------------- /Shared/Extensions/Decimal.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Extensions/Decimal.swift -------------------------------------------------------------------------------- /Shared/Models/Account.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Models/Account.swift -------------------------------------------------------------------------------- /Shared/Models/Calculations/Balance.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Models/Calculations/Balance.swift -------------------------------------------------------------------------------- /Shared/Models/Calculations/ChartData.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Models/Calculations/ChartData.swift -------------------------------------------------------------------------------- /Shared/Models/Calculations/Return.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Models/Calculations/Return.swift -------------------------------------------------------------------------------- /Shared/Models/Calculations/irr.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Models/Calculations/irr.swift -------------------------------------------------------------------------------- /Shared/Models/Currency/Cryptocurrency.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Models/Currency/Cryptocurrency.swift -------------------------------------------------------------------------------- /Shared/Models/Currency/Currency.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Models/Currency/Currency.swift -------------------------------------------------------------------------------- /Shared/Models/Currency/CurrencyFormatter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Models/Currency/CurrencyFormatter.swift -------------------------------------------------------------------------------- /Shared/Models/Currency/CurrencySymbol.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Models/Currency/CurrencySymbol.swift -------------------------------------------------------------------------------- /Shared/Models/Portfolio/Portfolio.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Models/Portfolio/Portfolio.swift -------------------------------------------------------------------------------- /Shared/Models/Portfolio/PortfolioConfig.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Models/Portfolio/PortfolioConfig.swift -------------------------------------------------------------------------------- /Shared/Models/Portfolio/PortfolioSettings.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Models/Portfolio/PortfolioSettings.swift -------------------------------------------------------------------------------- /Shared/Models/Record.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Models/Record.swift -------------------------------------------------------------------------------- /Shared/Persistence.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Persistence.swift -------------------------------------------------------------------------------- /Shared/Returns.xcdatamodeld/.xccurrentversion: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Returns.xcdatamodeld/.xccurrentversion -------------------------------------------------------------------------------- /Shared/Returns.xcdatamodeld/Shared.xcdatamodel/contents: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Returns.xcdatamodeld/Shared.xcdatamodel/contents -------------------------------------------------------------------------------- /Shared/ReturnsApp.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/ReturnsApp.swift -------------------------------------------------------------------------------- /Shared/Views/ContentView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/Shared/Views/ContentView.swift -------------------------------------------------------------------------------- /badge-download-on-the-mac-app-store.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/badge-download-on-the-mac-app-store.svg -------------------------------------------------------------------------------- /macOS/Commands.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Commands.swift -------------------------------------------------------------------------------- /macOS/Credits.rtf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Credits.rtf -------------------------------------------------------------------------------- /macOS/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Info.plist -------------------------------------------------------------------------------- /macOS/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/InfoPlist.strings -------------------------------------------------------------------------------- /macOS/Models/DeletingObject.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Models/DeletingObject.swift -------------------------------------------------------------------------------- /macOS/Models/NavigationItem.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Models/NavigationItem.swift -------------------------------------------------------------------------------- /macOS/Models/PortfolioBuilder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Models/PortfolioBuilder.swift -------------------------------------------------------------------------------- /macOS/Returns.entitlements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Returns.entitlements -------------------------------------------------------------------------------- /macOS/Views/AccountRecords/AccountRecordList.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/AccountRecords/AccountRecordList.swift -------------------------------------------------------------------------------- /macOS/Views/Common/InputCellView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/Common/InputCellView.swift -------------------------------------------------------------------------------- /macOS/Views/Common/LabelCellView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/Common/LabelCellView.swift -------------------------------------------------------------------------------- /macOS/Views/Common/ReadonlyCellView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/Common/ReadonlyCellView.swift -------------------------------------------------------------------------------- /macOS/Views/Common/TableViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/Common/TableViewController.swift -------------------------------------------------------------------------------- /macOS/Views/PortfolioListView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/PortfolioListView.swift -------------------------------------------------------------------------------- /macOS/Views/PortfolioView/CalculationsView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/PortfolioView/CalculationsView.swift -------------------------------------------------------------------------------- /macOS/Views/PortfolioView/ConfigurePortfolioView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/PortfolioView/ConfigurePortfolioView.swift -------------------------------------------------------------------------------- /macOS/Views/PortfolioView/GrowthChart.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/PortfolioView/GrowthChart.swift -------------------------------------------------------------------------------- /macOS/Views/PortfolioView/OverviewChart.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/PortfolioView/OverviewChart.swift -------------------------------------------------------------------------------- /macOS/Views/PortfolioView/PortfolioReturnView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/PortfolioView/PortfolioReturnView.swift -------------------------------------------------------------------------------- /macOS/Views/PortfolioView/PortfolioView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/PortfolioView/PortfolioView.swift -------------------------------------------------------------------------------- /macOS/Views/Settings/SettingsView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/Settings/SettingsView.swift -------------------------------------------------------------------------------- /macOS/Views/Sidebar/AccountRow.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/Sidebar/AccountRow.swift -------------------------------------------------------------------------------- /macOS/Views/Sidebar/PortfolioRow.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/Sidebar/PortfolioRow.swift -------------------------------------------------------------------------------- /macOS/Views/Sidebar/RenameSheet.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/Sidebar/RenameSheet.swift -------------------------------------------------------------------------------- /macOS/Views/Sidebar/Sidebar.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/Sidebar/Sidebar.swift -------------------------------------------------------------------------------- /macOS/Views/WelcomeView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/Views/WelcomeView.swift -------------------------------------------------------------------------------- /macOS/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/en.lproj/Localizable.strings -------------------------------------------------------------------------------- /macOS/zh-Hans.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/macOS/zh-Hans.lproj/Localizable.strings -------------------------------------------------------------------------------- /returns.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashchan/returns/HEAD/returns.png --------------------------------------------------------------------------------