This repository contains a minimal SwiftUI project that displays the real-time exchange rate from Euro (EUR) to Israeli Shekel (ILS).
The app and widget fetch the latest rate from exchangerate.host and refresh every hour.
EuroILSWidget/
├── EuroILSWidgetApp/
│ ├── ContentView.swift
│ └── EuroILSApp.swift
└── EuroILSWidgetExtension/
└── EuroILSWidget.swift
EuroILSWidgetAppcontains the main iOS application.EuroILSWidgetExtensionprovides a WidgetKit extension that can be added to the iPhone home screen.
- Open the project folder in Xcode.
- Build and run the EuroILSApp target on an iOS simulator or device.
- Add the Euro to ILS Rate widget from the home screen widget gallery.
Both the app and widget display the conversion rate using a simple SwiftUI layout.