BookM is a simple and elegant Apple Watch app for tracking your reading progress. Add books, update pages read, and see your current book at a glance with a companion widget that can replace physical bookmarks.
- 📚 Add, edit, and delete books
- ⏳ Track pages read and total pages
- 🕰️ WatchOS widget lets you quickly now what page you're at
-
Clone the repository:
git clone https://github.com/yourusername/BookM.git
-
Open in Xcode:
- Open
BookM.xcodeprojin Xcode.
- Open
-
Configure App Group:
- Ensure the App Group identifier (
group.com.xxx.BookM) matches your Apple Developer account. - Update entitlements if needed.
- Ensure the App Group identifier (
-
Build & Run:
- Select the Watch App target and run on a simulator or device.
- The widget reads your "Currently Reading" book from shared UserDefaults.
- Add the widget to your Apple Watch Smart Stack for quick access.
BookM Watch App/
BookM Watch App.entitlements
BookMApp.swift
ContentView.swift
Assets.xcassets
Views/
AddBookView.swift
DetailBookView.swift
EditBookPagesView.swift
CustomViews/
ListBookView.swift
BookM Widget/
BookM_Widget.swift
Info.plist
Assets.xcassets
- SwiftUI
- WidgetKit
- SwiftUI_Apple_Watch_Decimal_Pad (for numeric pad)
Please, use this code as you please. Fork it, edit, customiza and make it YOUR OWN.
MIT License. See LICENSE for details.