Realtime Crypto Tracker macOS Menu Bar App – SwiftUI & WebSocket
A Realtime Crypto Tracker macOS Menu Bar App built with SwiftUI & WebSocket
Features
The app has several main features:
- Act as agent on Menu Bar without main app window & dock icon.
- Realtime tracking of crypto currency from coincap.io websocket server
- Automatic Reconnect mechanism in case of internentconnection lost.
- Popover view to select different predefined Coin Types (Bitcoin, Ethereum, Monero, Litecoin, Dogecoin).
- Shortcut Link to open the associated coin details in web browser
- Use Combine Publisher to subscribe to the CoinCapService from the View Model layer, react to new data, and update UI through single pipeline.
Getting Started
- Download Xcode 13 from App Store.
- Install macOS 12 Monterrey
Installation
- Build and run the project using Xcode 13 and macOS 12.
Tutorial
This project is based on the YouTube tutorial series that you can watch at Build a macOS Menu Bar Realtime Crypto Tracker App with SwiftUI & WebSocketYouTube.