Skip to content

This project is a demonstration of how to securely encode/decode custom objects that have properties of types that do not conform to Codable protocol.

Notifications You must be signed in to change notification settings

marwaniaaj/UnitConversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Unit Conversion

This project is a demonstration of how to securely encode/decode custom objects that have properties of types that do not conform to Codable protocol.

Project overview

A Simple unit conversion app using Apple's Units and Measurement APIs, to convert between measurement units -Dimension, using .converted(to:) to produce the required result. We have array of units (Area, Length, Mass, etc..), map of unit types -Dimension in each unit -[String, [Dimension]],  and we have list of favorite conversions, these favorites will be persisted in Document Directory folder, for easy access.

References

Build and Install

Requirements

  • iOS 16.2+
  • Xcode 15
  • Swift 5.9

About

This project is a demonstration of how to securely encode/decode custom objects that have properties of types that do not conform to Codable protocol.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages