Skip to content

Repository files navigation

SwiftUI Examples

Image

About

Examples 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:

Community

Image Image Image Image

Navigate

Other projects

Also include:

  • Movie
  • InstaFake
  • TempusRomanumII
  • SwiftUI + Redux
  • React Meets SwiftUI
  • Webview
  • UINote
  • SplitView
  • Card Animation

Animatable Cards

Image

3D

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.

Animation

In preview I am use Spring animation for all cards:

.animation(.spring())

Area to Card

Image

SFSymbols

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))

Button

For change state using @State as property:

@State var show = false

Transition And Blur

Image

2048 Game

Image

SFSymbols

Image

Calculator

Image

Creating And Combining Views

Image

Building Lists And Navigation

Image

WWDCPlayer

Image

Handling User Input

Image

Composing Complex Interfaces

Image

Working With UIControls

Image

Image

Example To-Do App

Image

iPadOS Scenes

Image

Combine using GitHub API

Image

Async image loading

Image

Interfacing With UIKit

Image

GitHub Search

Image

Time Travel

Image

Drawing Paths And Shapes

Image

Animating Views And Transitions

Image

Jike

Image

Flux

Image

PureGenius

Image

SwiftUIDownloadView

Image

SwiftUI SideMenu

Source

Image

SwiftUI Currency

Source

Image

SwiftUI Weather

Source and Tutorial

Image

DesignCode SwiftUI

Source

ImageImage

MTSlideToOpen-SwiftUI

Source

Image

Currency Converter & Calculator

Source

Image Image

FlipClock-SwiftUI

Source

Light Dark
Image Image

CountdownFilmClutter-SwiftUI

Source

Image

SpotlightSearch

Source

Light Dark
Image Image

SwiftUI Weather App with MVVM and CoreML

Source

Image

Growing text view in SwiftUI

Source

Image

MGFlipView

Source

Image

Authors

Thanks for Jinxiansen, ra1028, timdonnelly, TwoLivesLeft, devxoul, cmtrounce, unixzii, ra1028 for examples project.

Other Projects

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.

Image Image

Russian Community

Подписывайся в телеграмм-канал, если хочешь получать уведомления о новых туториалах.
Со сложными и непонятными задачами помогут в чате.

Image Image

Видео-туториалы выклыдываю на YouTube:

Tutorials on YouTube

About

Examples projects using SwiftUI released by WWDC2019. Include Layout, UI, Animations, Gestures, Draw and Data.

Topics

Resources

Code of conduct

Contributing

Stars

5.6k stars

Watchers

138 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages