lonelyradio/platform/swiftui/README.md
Ivan Bushchik f3f21d8fc8
0.3.0: send audio by fragments, use crossterm in monoclient
Add option (`-m --max-samplerate N`) to resample tracks if their samplerate exceeds N

Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
2024-03-24 13:24:48 +03:00

21 lines
388 B
Markdown

# Platform-specific player realizations
## Rust + SwiftUI (iOS/iPadOS/macOS (iOS mode))
### Build `monolib`
```
cargo lipo --release --targets aarch64-apple-ios -p monolib
```
For running in simulator
```
cargo lipo --release --targets aarch64-apple-ios-sim,x86_64-apple-ios -p monolib
```
### Build and run app
Open Xcode and run.
[Screenshots (pre v0.2)](./screenshots/swiftui)