Collection of SwiftUI apps
This repo contains my version of the apps from Paul Hudson's course 100 days of SwiftUI:
https://www.hackingwithswift.com/100/swiftui
- Accessibility elements
- UI elements:
Slider
and Stepper
Stepper
animation()
function on views
AsymmetricView
, Rectangle
with transition
TappingButton
with animation
, scaleEffect
, easeInOut
RectangleDrag
with 3D effect rotation
Button
with animation using interpolatingSpring
SnakeAnimation
DragGesture
RotatingAnimations
with interpolatingSpring
and 3D effect
Tap Button |
Snake |
Rotating Circle |
Growing Circle |
|
|
|
|
- Shapes: triangle, rectangle using
Shape
protocol
Slider
ColorCyclingRect
and ColorCyclingCircle
which are custom views
- Drawing gradients:
LinearGradient
and Gradient
NavigationView
with forms and sections
DatePicker
CoreML
models
- Accessibility values to steppers
CoreData
FetchRequest
List
and ForEach
NavigationView
with navigation links NavigationLink
GeometryReader
- Bindings
@Binding
- Accessibility support in
RatingView
TextField
, Picker
, Gradient
- Context authentication,
LAContext
and biometrics
- Loading data with
FileManager
- Bindings
@Binding
UIViewRepresentable
with MapKit
ObservableObject
- Different states of a View with
StateView
- Lists, forms and sections
URLSession
fetch data
- Biometrics
FileManager
- Alerts and sheets
ImagePicker
- Forms and sections
GeometryReader
MapKit
NavigationLink
CoreData
CustomView
called FilteredList
- using generics in NSFetchRequest
ViewBuilder
- Property wrappers / protocols:
ObservedObject
, ObservableObject
Form
in ValidateView
List
- Network request
Form
with Section
, Stepper
, Toggle
and Picker
NavigationLink
GeometryReader
- Using
Circle
in ZStack
- Custom shapes
- Full accessibility support
- Using
Timer
with Combine
UserDefaults
for storing items
- Haptics with
CHHapticEvent
List
@Binding
CoreData
List
inside NavigationView
- Network request
- Forms
ForEach
ClipShape
with Capsule
ForEach
TabView
- Using environment objects
ObservableObject
- QR Codes
NavigationView
List
with ForEach
DelayedUpdater
- Multiple custom views
UNUserNotificationCenter
NavigationView
List
with ForEach
ObservedObject
ViewModifier
- Custom bindings inside
body
- Applying filters to an image
@Binding
UIViewControllerRepresentable
- Using
alignmentGuide
VerticalAlignment
ViewDimensions
GeometryReader
RotationScrollView
HorizontalScrollView
Alignment Guide |
Custom Alignment Guide |
Offset Background |
OuterInner View |
ScrollView |
Horizontal Scroll View |
|
|
|
|
|
|
- Fun app, astronauts and missions
List
- Encoding and decoding JSONs from
Bundle
NavigationLink
GeometryReader
NavigationView
Form
with Stepper
and Picker
NavigationLink
LinearGradient
TabView
CHHapticEngine
NavigationView
List
with ForEach
Form
ObservableObject
ObservedObject
- Encoding and decoding JSONs from
Bundle
NavigationView
List
Group
- Using
layoutPriority
in SkiDetailView
and ResortDetailView
NavigationView
Form
with Picker
NavigationView
Form
with Picker
UIViewControllerRepresentable
CIFilter