Examples projects using SwiftUI released by WWDC2019. Include Layout, UI, Animations, Gestures, Draw and Data.
SwiftUI
ExamplesExamples projects using SwiftUI
& Combine
.
Include Layout, UI, Animations, Gestures, Draw and Data.
See projects files in Files
& Other Projects
folders. If you have project, make a pull request or create issue with link to repo.
Interested in UI and animations in UIKit
?
See awesome-ios-ui pack with UI elements.
If you like the project, don’t forget to put star ★
and follow me on GitHub:
Also include:
For add 3D rotation for back cards use code:
.rotation3DEffect(
Angle(degrees: dragState.isActive ? 0 : 60), axis: (x: 10.0, y: 10.0, z: 10.0)
)
For medium card use 30 angles.
In preview I am use Spring
animation for all cards:
.animation(.spring())
For button using SFSymbols
pack with ready-use icons. Also support customisable weight:
Image(systemName: show ? "slash.circle.fill" : "slash.circle")
.font(Font.title.weight(.semibold))
For change state using @State
as property:
@State var show = false
Light | Dark |
---|---|
Light | Dark |
---|---|
Thanks for Jinxiansen, ra1028, timdonnelly, TwoLivesLeft, devxoul, cmtrounce, unixzii, ra1028 for examples project.
I love being helpful. Here I have provided a list of libraries that I keep up to date. For see video previews
of libraries without install open opensource.ivanvorobei.by website.
I have libraries with native interface and managing permissions. Also available pack of useful extensions for boost your development process.
Подписывайся в телеграмм-канал, если хочешь получать уведомления о новых туториалах.
Со сложными и непонятными задачами помогут в чате.
Видео-туториалы выклыдываю на YouTube: