Login screen - Sample screen created for job application
LoginDemo
Login app screen
Evaluation of coding skills for job application
We would like to understand a few things about your approach to code, projects, and the way you build them.
- The given UI must be implemented using SwiftUI
- The inputs fields should not be empty
- Validations for email (must be a valid email)
- Validations for password (should have 8 characters, 1 number, 1 upper case alphabet, 1 lower case alphabet)
- Validations for username (should not have spaces and no upper case alphabet)
- The app must be responsive for all devices (iPhone SE, iPhone 13, iPad)
? Use MVVM approach
? Reuse input fields using EntryField file
? Use of Combine for handle conditions
? Use of RegEx for handle restrictions and Extensions file code for triming spaces in username field
? Instructions are hidden when the validation is passed
? Login button only activates if all conditions are complete