ivanvorobei /SwiftUI

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

★ 5,627⑂ 567👁 136⑃ 40● 13▤ 0
SwiftMITCreated 2019-06-04opensource.ivanvorobei.by
+0
Daily
5,627
stars
567
forks
136
watchers
40
prs
13
issues
0
releases

README

SwiftUI Examples



 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


    
        
    
    
        
    
    
        
    
    
        
    


 Navigate

- Animatable Cards
- Area to Card

 Other projects

- Transition And Blur
- 2048 Game
- SFSymbols
- Calculator
- Creating And Combining Views
- Building Lists And Navigation
- Handling User Input
- WWDCPlayer
- Composing Complex Interfaces
- Working With UIControls
- Example To-Do App
- iPadOS Scenes
- Combine using GitHub API
- Async image loading
- Interfacing With UIKit
- GitHub Search
- Time Travel
- Drawing Paths And Shapes
- Animating Views And Transitions
- Jike
- Flux
- PureGenius
- SwiftUI Download Progress View
- SwiftUI SideMenu
- SwiftUI Currency App
- SwiftUI Weather App
- DesignCode SwiftUI App
- SwiftUI SlideToOpen
- Currency Converter & Calculator
- FlipClock-SwiftUI
- Countdown Film Clutter
- SpotlightSearch
- Growing text view in SwiftUI
- Calculator Clone for iPadOS
- MGFlipView

Also include:
- Movie
- InstaFake
- TempusRomanumII
- SwiftUI + Redux
- React Meets SwiftUI
- Webview
- UINote
- SplitView
- Card Animation

 Animatable Cards



 3D

For add 3D rotation for back cards use code:

swift
.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:

swift
.animation(.spring())



 Area to Card



 SFSymbols

For button using SFSymbols pack with ready-use icons. Also support customisable weight:

swift
Image(systemName: show ? "slash.circle.fill" : "slash.circle")
   .font(Font.title.weight(.semibold))


 Button

For change state using @State as property:

swift
@State var show = false


 Transition And Blur



 2048 Game



 SFSymbols



 Calculator



 Creating And Combining Views



 Building Lists And Navigation



 WWDCPlayer



 Handling User Input



 Composing Complex Interfaces



 Working With UIControls




 Example To-Do App



 iPadOS Scenes



 Combine using GitHub API



 Async image loading



 Interfacing With UIKit



 GitHub Search



 Time Travel



 Drawing Paths And Shapes



 Animating Views And Transitions



 Jike



 Flux



 PureGenius



 SwiftUIDownloadView



 SwiftUI SideMenu

Source



 SwiftUI Currency

Source



 SwiftUI Weather

Source and Tutorial



 DesignCode SwiftUI
Source



 MTSlideToOpen-SwiftUI
Source



 Currency Converter & Calculator

Source

 
 FlipClock-SwiftUI
Source

|Light|Dark|
|:-:|:-:|
|||

 CountdownFilmClutter-SwiftUI

Source



 SpotlightSearch
Source

|Light|Dark|
|:-:|:-:|
|||

 SwiftUI Weather App with MVVM 

Top issues

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON