Uno Calculator:
Windows calculator on all operating systems!
We ported the open source Windows Calculator to Android, iOS , macOS, Web and even Linux! This is a great proof of concept for the level of code reusability you can achieve with Uno Platform across Web, Desktop and Mobile.
90’s Code on 2020’s Devices
To demonstrate Uno Platform’s UI cross-platform capabilities, we took the Windows Calculator, an application written in C++ and C over 30 years ago and made it available to all modern-day operating systems.
Simple yet Powerful Features
- Responsive design for windowed and orientation-aware devices
- Standard, Scientific and Programmer mode
- Weight Unit Converter
- Temperature Converter
- Pressure Converter
- Angle Converters
- And more features of Windows calculator!
For pixel-perfect UI and native performance, Uno Platform utilizes .NET, or more precisely Xamarin.iOS, and Xamarin.Droid (not Xamarin.Forms) along with Lookless Controls to run XAML and C# on iOS and Android.
If you are not familiar with WebAssembly, it provides a way to run code written in multiple languages on the web at near-native speed. In this case, Uno Platform utilizes WASM to run XAML and C# in the browser.
In addition to helping with UI aspects of the conversion, Uno Platform can help Web app performance by providing a choice of Interpreted Mode, Ahead-of-Time (AoT) or Profile-Guided AoT compilation.
The implementation of the macOS support in Uno is heavily based on iOS support. The reason for this is UIKit for iOS is very close to AppKit on macOS. This allowed us to reuse large portions of the code from iOS and adjust to fit macOS’s behavior.
To run XAML and C# on Linux, Uno Platform utilizes Skia, SkiaSharp, and GtkSharp to produce pixel-perfect UI. We’ve partnered with the Ubuntu team to make it available at the Snap store.