simple app in swiftui MVVM we use firebase firestore and saved question on it with answer,then reterive question and let user choose answer finally print results
when user check answer green border with show . when user click submit if chossen answer is incorrect red border will appear the selected and the true result will appear green border.
pod 'Firebase/Firestore'
Enjoy!