2019-06-26 08:06:33 +03:00
2019-06-06 10:59:32 +03:00
2019-06-06 10:59:32 +03:00
2019-06-16 15:02:49 +02:00
2019-06-06 10:59:32 +03:00
2019-06-26 08:06:33 +03:00

SwiftUI Examples Projects

Examples projects using SwiftUI & Combine.
Include Layout, UI, Animations, Gestures, Draw and Data. See projects files in Examples folder. 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:

awesome-ios-ui

If you like the project, do not forget to put star ★

Navigate

Also include:

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

Projects

Animatable Cards

Gester, Animation, 3D

In class add property:

@GestureState var dragState = DragState.inactive

And in body create gester object:

let dragGester = DragGesture()
    .updating($dragState) { (value, state, transaction) in
        state = .dragging(translation: value.translation)
    }

To card add gester and offset:

.offset(
    x: dragState.translation.width,
    y: dragState.translation.height
)
.rotationEffect(Angle(degrees: Double(dragState.translation.width / 10)))
.shadow(radius: dragState.isActive ? 8 : 0)
.animation(.spring())
.gesture(dragGester)

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

Time Travel

Drawing Paths And Shapes

Animating Views And Transitions

Jike

Flux

SwiftUIDownloadView

#### PureGenius

Authors

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

Description
No description provided
Readme MIT 65 MiB
Languages
Swift 100%