Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mgriebling/swiftmathdemo
SwiftMathDemo demonstrates the use of SwiftMath using SwiftUI. The same code runs on Macs, iPhones, and iPads. Code is entirely written in Swift. The MathView.swift file provides a SwiftMath interface to SwiftUI.
https://github.com/mgriebling/swiftmathdemo
demos iosmath swift swiftmath swiftmathdemo swiftui
Last synced: about 2 months ago
JSON representation
SwiftMathDemo demonstrates the use of SwiftMath using SwiftUI. The same code runs on Macs, iPhones, and iPads. Code is entirely written in Swift. The MathView.swift file provides a SwiftMath interface to SwiftUI.
- Host: GitHub
- URL: https://github.com/mgriebling/swiftmathdemo
- Owner: mgriebling
- License: mit
- Created: 2023-01-19T21:54:54.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-16T13:02:28.000Z (over 1 year ago)
- Last Synced: 2023-08-16T15:10:01.372Z (over 1 year ago)
- Topics: demos, iosmath, swift, swiftmath, swiftmathdemo, swiftui
- Language: Swift
- Homepage:
- Size: 1.61 MB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SwiftMathDemo
`SwiftMathDemo` demonstrates the use of [SwiftMath](https://github.com/mgriebling/SwiftMath.git) using SwiftUI.
The same code runs on Macs, iPhones, and iPads. Code is entirely written in Swift.
The `MathView.swift` file provides a `SwiftMath` interface to SwiftUI.
Simplified setting fonts in the MathView and the demo.To use `SwiftMath` in your own code, just add the following package path to
XCode: https://github.com/mgriebling/SwiftMath.git## Examples
Here are screenshots of an iPad, iPhone, and Mac running the demo:![iPad Screenshot](images/lightiPad.png#gh-light-mode-only)
![iPad Screenshot](images/darkiPad.jpeg#gh-dark-mode-only)![iPhone Screenshot](images/darkiPhone.png#gh-dark-mode-only)
![iPhone Screenshot](images/lightiPhone.jpeg#gh-light-mode-only)![Quadratic Formula](images/darkiMac.png#gh-dark-mode-only)
![Quadratic Formula](images/lightiMac.png#gh-light-mode-only)