A funny app to organise a lottery using Combine and SwiftUI
Simple Lottery!
This is a funny Apple universal application that creates a lottery between defined nominees. It uses Combine and SwiftUI frameworks and demonstrates how we can use @Published, ObservableObject, and Timers in Swift.
Main Features
- Define Nominees
- Create an Election Publisher using a timer to update the result while lottery in progress
- Display the winner when the lottery rounds ended
Author
Soheil Novinfard