This course is available as part of the raywenderlich.com Professional subscription. To learn more click here
Pro

Units & Measurement in iOS

May 24 2022 · Video Course (13 mins) · Intermediate

Learn how to model units of physical quantities with Measurements and Units from Foundation for safer conversion and display of meaningful values.

Version

  • Swift 5.5, iOS 15, macOS 12, Xcode 13

Measurements & Units

Create Measurements, calculate, and compare across units.

1

Use MeasurementFormatter to display measurement values and units with locale-aware formats.

2

Learn how to add your own custom units and dimensions to Foundation’s units and measurements system.

3

Who is this for?

This course is intended for developers who need to model, store, and display units of physical quantities.

Covered concepts

  • Measurement
  • Unit
  • Dimension
  • MeasurementFormatter
  • UnitConverter

Contributors

Comments