Johannes Bauer
All posts

One portfolio file, two native apps

Cockpit uses the same local file on Mac and iPhone. Each interface is designed around the tasks that suit its device.

Behind the scenes3 min

Cockpit on Mac showing portfolio value over time, holdings, and asset allocation Cockpit on iPhone showing portfolio performance and key figures
Cockpit on Mac and iPhone with sample data.

The portfolio lives in a file

Cockpit stores holdings, transactions, and dividends in a local SQLite file. You choose where to keep it. You can create and open a portfolio without a Cockpit account.

Shared Swift modules handle storage and calculations. Open the same file on Mac or iPhone and the figures come from the same transactions and calculation rules.

Compare on Mac, check and book on iPhone

The Mac app uses the extra screen space for views such as total wealth. Securities, cash balances, and property appear together at the same valuation date. From there you can open a property to see rent, running costs, and financing.

On iPhone, the portfolio overview leads to holdings and returns. You can also open a supported PDF statement, check the destination account and possible duplicates, and import the selected transactions. Both apps use SwiftUI, with an interface for each device.

Switch between devices

To use the same file on both devices, keep it in iCloud Drive. Edit it on one device at a time and let the changes finish syncing before opening it on the other. You can keep a separate backup wherever you prefer.

If you already use Portfolio Performance, you can import an unencrypted XML file on Mac. Cockpit is maintained as an independent open-source fork. The development documentation shows how the shared Swift modules and the two apps fit together.

Explore Cockpit Source code and documentation