Skip to content

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.

License

Notifications You must be signed in to change notification settings

mgriebling/SwiftMathDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. 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 iPad Screenshot

iPhone Screenshot iPhone Screenshot

Quadratic Formula Quadratic Formula

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages