Skip to content

Currencies is an iOS mobile app developed with Swift programming language. Simply enter an amount, choose your currencies and get real-time conversion rates at your fingertips. Ideal for travelers and finance enthusiasts alike, this app ensures you have the latest currency information quickly and easily.

Notifications You must be signed in to change notification settings

nicktheodoridisiOS/Currencies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Currencies Mobile Application

cover

About Application

Currencies is an iOS mobile app developed with Swift and SwiftUI in Xcode. Simply enter an amount, choose your currencies and get real-time conversion rates at your fingertips. Ideal for travelers and finance enthusiasts alike, this app ensures you have the latest currency information quickly and easily.

browse

Convert Your Amount

convert

Choose Your Currency Base

base

Display Preferences

mode

Run Application

run.mp4

Persist Data

For persistent data like display and currency code the @AppStorage property wrapper was used.

@AppStorage("selectedCurrencyBase") var selectedCurrencyCode: String = "EUR"
@AppStorage("isDarkModeEnabled") var isDarkModeEnabled = false

API Reference

For the implementation of the Currencies application, I utilized the ExchangeRate-API, which allows you to retrieve current currency exchange rates, perform currency conversions and fetch historical exchange rate data.

Parameter Type Value Description
api_key string b1b71f168dab8cfbff14f4d3 Required
currency_base string EUR Required
  GET https://v6.exchangerate-api.com/v6/b1b71f168dab8cfbff14f4d3/latest/EUR

This will return (with JSON format) the exchange rates from your base code to all the other currencies which supported:

{
   "result":"success",
   "documentation":"https://www.exchangerate-api.com/docs",
   "terms_of_use":"https://www.exchangerate-api.com/terms",
   "time_last_update_unix":1715558401,
   "time_last_update_utc":"Mon, 13 May 2024 00:00:01 +0000",
   "time_next_update_unix":1715644801,
   "time_next_update_utc":"Tue, 14 May 2024 00:00:01 +0000",
   "base_code":"EUR",
   "conversion_rates":{
      "EUR":1,
      "AED":3.9561,
      "AFN":77.7023,
      "ALL":100.5079,
      "AMD":418.0317,
      "ANG":1.9283,
      "AOA":907.8752,
      "ARS":931.5387,
      "AUD":1.6318,
      "...":1.9283,
      "...":1.8379,
      "...":28.8929,
      "ZWL":14.5678
   }
}

Project Tools

Xcode GitHub Figma Postman
mode mode mode mode

Programming Stack

Swift SwiftUI
mode mode

Contact

I'm always open to questions, suggestions and comments. If you have any questions or need assistance, feel free to contact me at nicktheodoridiscontact@gmail.com or through my GitHub account.

Socials

Follow me on social media for the latest news and updates:

License

This project is distributed under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).

This means you can use, modify and share this work under the following conditions:

  • You must attribute the original creator (attribution).
  • You may not use this work for commercial purposes (non-commercial use).

About

Currencies is an iOS mobile app developed with Swift programming language. Simply enter an amount, choose your currencies and get real-time conversion rates at your fingertips. Ideal for travelers and finance enthusiasts alike, this app ensures you have the latest currency information quickly and easily.

Topics

Resources

Stars

Watchers

Forks

Languages