# Freestyle Judo Scoreboard Updated version of the Freestyle Judo iOS scoreboard app (originally released on the App Store in 2013: https://itunes.apple.com/us/app/freestyle-judo/id726511116). ## Modernization Updates (2026) - **Minimum deployment target**: iOS 15.0 (was effectively ~iOS 7/9). - **Architecture**: Updated to modern arm64; removed legacy armv7 requirements. - **Language**: Core remains Objective-C for compatibility with original logic/timers/UI. All *new* code (e.g., WKWebView integration, launch handling patterns, setValue guards) written in modern style; Swift can be introduced for further UI if desired. - **Web content**: All `UIWebView` instances replaced with `WKWebView` (programmatically instantiated to preserve legacy storyboards). Loads use HTTPS where possible. Local PDF handbook still supported via WKWebView. - **macOS support**: Builds and runs via Mac Catalyst (iPad app on Mac). Also runs as "Designed for iPad" on Apple silicon Macs. Resizable windows on Mac; use fullscreen or large window for TV-like scoreboard experience. - **iPhone / iPad**: Builds/runs on latest simulators and devices (iOS 18+ tested in build). Separate iPhone/iPad storyboards retained; app supports all orientations. - **Deprecated APIs addressed**: - Music player: switched from deprecated `iPodMusicPlayer` to `systemMusicPlayer`. - Rotation: fixed return types for `supportedInterfaceOrientations`. - Removed `viewDidUnload`. - Added `NSAppleMusicUsageDescription` privacy key. - **Project**: - Deployment targets, bundle ID, and Catalyst support configured in Xcode project. - App icon catalog updated with modern sizes (reusing available artwork). - Builds cleanly for iOS Simulator and Mac Catalyst. - **Other**: Sounds, timers (shiai/osaekomi), scoring (historical freestyle rules with waza-ari/yuko/koka equivalents + ippon/decision), settings, help, and reset behaviors preserved. ## Running - Open `Freestyle Judo.xcodeproj` in Xcode 16+ (or current 2026 Xcode). - Select "Freestyle Judo" scheme, run on iPhone/iPad simulator or device, or "My Mac (Mac Catalyst)". - The scoreboard is designed for landscape use on larger screens (iPad, Mac, or AirPlay/HDMI to TV). Tap logo for info; use gestures on timer/scores or toolbar buttons (Hajime/Matte, Ippon, Osaekomi/Toketa, etc.). - Settings allow auto-scoring osaekomi, interval timer between rounds, background music control (requires Apple Music permission if used). ## Notes / Limitations - Scoring rules reflect the original "Freestyle Judo" implementation (pre-modern IJF changes). - Background music integration is limited on modern iOS due to system privacy changes (start music manually if desired). - UI layouts use legacy storyboards with some fixed sizes; works but may benefit from SwiftUI refresh for perfect adaptation on all devices/Mac windows (future enhancement). - No new Swift files added yet; add via "New File > Swift" and bridge if extending. ## Pushing to Gitea Intended destination: `http://gitea.binary-systems.com/vincente/Freestyle-Judo.git` After local verification: ``` git remote add origin http://gitea.binary-systems.com/vincente/Freestyle-Judo.git git push -u origin master ``` (Adjust auth as needed for your Gitea instance.) Original copyright: Binary Systems, Inc. / Vincente D'Ingianni (2013). Updates preserve original functionality and spirit. Enjoy the updated scoreboard!