MIT License

项目介绍

ivanvorobei/SwiftUI 是一个托管在 GitHub 上的开源项目,主要使用 Swift 编写,采用 MIT License 许可证,目前获得 5.6k 个 Star、566 次 Fork。

仓库全名
ivanvorobei/SwiftUI
开源许可证
MIT License
Star 数
5.6k
Fork 数
566
未关闭 Issue
8

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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

SwiftUI 用什么语言开发?

主要使用 Swift 编写,采用 MIT License 许可证,目前有 5.6k 个 Star。

SwiftUI 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 SwiftUI 的源码?

可以直接克隆仓库:git clone https://github.com/ivanvorobei/SwiftUI.git,默认分支为 master;安装与运行步骤见仓库 README。

SwiftUI 最近还在维护吗?

仓库最近一次更新为 2023年12月7日,当前有 8 个未关闭 Issue;Star 数为 5.6k,可作为社区活跃度的参考。

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

Other projects

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:

.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

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

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

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 and CoreML

Source

Growing text view in SwiftUI

Source

MGFlipView

Source

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.

Russian Community

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

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

Tutorials on YouTube

评论

暂无评论