Developed with Xcode Version 12.0 Beta 2
- font size / custom font
- font color / font family
.frame()
.resizable()
.ClipShape()
VStack
andHStack
- Random colors.
LazyStacks which print out current loaded items in the console.
Grids with random colors.
NavigationView()
and NavigationLink()
.
NavigationView()
nested in a TabView()
.
timeFomatter
dateFormatter
Timer
to update the time;
Custom property wrapper @Transaction
to commit
or rollback
changes to a value.
Credit: Ian Keen
Default circular style and linear style.
- Pickers
- DatePickers
- Nested in a
Form
Custom Circular ProgressView.
Credit: Josh Kannenberg .
Credit: (2) SwiftUI - Circular Progress View - YouTube
Swift Packages:
-
Cay-Zhang/SwiftSpeech: A speech recognition framework designed for SwiftUI.
-
exyte/Grid: The most powerful Grid container missed in SwiftUI
Readings:
Create UIBlurView
with UIViewRepresentable
. (Just a normal view wrapped in a UIView, IMO.)
An AppleTV Dashboard mockup with:
- TextView
- IconView
- ModuleView
Credit to Jordan Singer.
Credit: Paul Hudson
- Stepper`
Alert
DatePicker()
NavigationView()
Button()
Draw and save drawings. (Lot of bugs, dunno why.)
PencilKit Canvas View, i think it is.
- view created with
UIViewRepresentable
- different inking tools;
- ColorPickerView()
- Eraser etc..
Swift Package:
- add support pkg; (https://github.com/airbnb/lottie-android)
- Create
LottieView
withUIViewRepresentable
; - use
LottieView
like any other SwiftUI View.
Can find more lottie files: https://lottiefiles.com/ .
- A button to show and hide a view;
- Matching Animation to animate the process (with
matchedGeometryEffect
).