-
Notifications
You must be signed in to change notification settings - Fork 46
/
README.md
65 lines (46 loc) · 2.32 KB
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# SwiftUI-Sample-App
This swiftUI Demo is very simple & easy to understand. This swiftUI demo includes On-boarding screens, login screen, forgot password screen, sign up screen, home & logout.You can read more from [Medium](https://medium.com/mindful-engineering/getting-started-with-swiftui-c5b985a0211b)
![video](/Media/SwiftUI-Sample-App.gif)
# Description
In the onboard view, we used the page control with view controller and also put the next button to jump the LoginUI.
In the login view, user need to enter the credentials (Email & Password) and after completion of validation it successfully logged in it will save in user defaults.
In the Forgot password view, user need to enter Email and after completion of validation of email it will successfully dismiss.
In the Sign Up view, user need to enter user data (First Name, Last Name, Email, Contact No, Date of Birth, Password & Confirm Password ) and after completion of validation it will successfully dismiss.
In the Home view, user will get 2 tabs like (Home & Favourites).
In the Home tab, user will get scrollable list & collection.
In the favourites tab, user will get segments, login using combine framework, picker & user can also logout.
# Table of Contents
- OnBoarding UI - Created onboarding UI, using view controllers & page control
- Login UI - It will validate login credentials, after successfully login it will save data in user defaults.
- Forgot Password UI - presented forgot password UI, using presentation mode and also validate an email.
- Sign UP UI - It will also validate with all user data,
- Tab bar (Home & favourites )
- Logout
# UI controls
- Page controller (using view controllers)
- Picker
- Scrollview
- Navigation View
- VStack, HStack, Zstack
- List
- Collection
- Tabbar
- Image
- Text
- Alert
- TextField
- SecureTextField
- Buttons (Action & Navigation)
# By Apple
Xcode 11.1
iOS 13
iPadOs 13
# Documentation
SwiftUI - https://developer.apple.com/xcode/swiftui/
# Tutorials
- Ray wenderlich
- Hacking with Swift
# LICENSE!
SwiftUI-Sample-App is [MIT-licensed](/LICENSE).
# Conclusion
While there’s still a ton of information left to be discovered about SwiftUI.I hope this article has cleared up some of the major question marks. I’ll keep digging, and will report all of my new findings as soon as possible.