Retour au classement

nathangitter/fluid-interfaces

Swift

Natural gestures and animations inspired by Apple's WWDC18 talk "Designing Fluid Interfaces"

swiftanimationfluidinterfacesgesturespring-animation
Croissance des étoiles
Étoiles
2.6k
Forks
146
Croissance hebdomadaire
Issues
0
1.5k2k2.5k
août 2018mars 2021nov. 2023juil. 2026
README

Fluid Interfaces Title Graphic

Check out the accompanying blog post for more details: Building Fluid Interfaces

⭐️ If you found this repo helpful, please star it. Thanks! ⭐️

Background

At WWDC 2018, Apple designers gave a talk titled "Designing Fluid Interfaces", explaining the design theory behind the gesture-based interface of iPhone X. (The presentation is available here: Designing Fluid Interfaces)

It was an outstanding talk, inspiring designers and developers to think about animated interfaces in a new way. While some technical guidance was provided, most code-level implementation details were ommitted.

The goal with this project is to bridge the gap between inspiration and implementation.

Installation

Download or clone the repo and open the FluidInterfaces.xcodeproj file with Xcode.

Interfaces

Calculator Button

Spring Animations

Flashlight Button

Rubberbanding

Acceleration Pausing

Rewarding Momentum

FaceTime PiP

Rotation

Calculator Button

A button that mimics the behavior of buttons in the iOS Calculator app.

Calculator Button Demo

⚙️ CalculatorButton.swift

📺 Designing Fluid Interfaces 50:13

Spring Animations

A demo showing the ability to define a spring animation with "design-friendly" parameters.

Spring Demo

⚙️ Spring.swift

📺 Designing Fluid Interfaces 31:40

Flashlight Button

A button that mimics the behavior of the flashlight button on the lockscreen of iPhone X.

Flashlight Button Demo

⚙️ FlashlightButton.swift

📺 Designing Fluid Interfaces 37:59

Rubberbanding

A demo showing how to implement rubberbanding.

Rubberbanding Demo

⚙️ Rubberbanding.swift

📺 Designing Fluid Interfaces 17:01

Acceleration Pausing

A demo of using a gesture's acceleration to quickly detect when the user's motion has paused.

Acceleration Pausing Demo

⚙️ Acceleration.swift

📺 Designing Fluid Interfaces 10:40

Rewarding Momentum

A drawer with an open and closed state which has bounciness dependent on the velocity of the gesture.

Rewarding Momentum Demo

⚙️ Momentum.swift

📺 Designing Fluid Interfaces 36:48

FaceTime PiP

A re-creation of the picture-in-picture UI of the iOS FaceTime app.

FaceTime PiP Demo

⚙️ Pip.swift

📺 Designing Fluid Interfaces 41:56

Rotation

A demo showing how the concepts from the PiP interface can apply to other animations.

Rotation Demo

⚙️ Rotation.swift

📺 Designing Fluid Interfaces 47:25

Author

You can find me on Twitter @nathangitter

Contributing

Feel free to add issues or pull requests here on GitHub. I cannot guarantee that I will accept your changes, but feel free to fork the repo and make changes as you see fit. Thanks!

© 2018 Nathan Gitter, licensed under Apache-2.0. See LICENSE for more information.

Dépôts similaires
justjavac/free-programming-books-zh_CN

:books: 免费的计算机编程类中文书籍,欢迎投稿

GNU General Public License v3.0pythonjavascript
weibo.com/justjavac
117.7k28.2k
appwrite/appwrite

Appwrite® - complete cloud infrastructure for your web, mobile and AI apps. Including Auth, Databases, Storage, Functions, Messaging, Hosting, Realtime and more

TypeScriptnpmBSD 3-Clause "New" or "Revised" Licenseappwritedocker
appwrite.io
56.6k5.6k
dkhamsing/open-source-ios-apps

:iphone: Collaborative List of Open-Source iOS Apps

Creative Commons Zero v1.0 Universaliosswift
51.3k6k
serhii-londar/open-source-mac-os-apps

🚀 Awesome list of open source applications for macOS. https://t.me/s/opensourcemacosapps

Creative Commons Zero v1.0 Universalmacosmac
49.7k2.6k
iina/iina

The modern video player for macOS.

SwiftGNU General Public License v3.0macosvideo-player
iina.io
45.7k2.9k
Alamofire/Alamofire

Elegant HTTP Networking in Swift

SwiftMIT Licensenetworkingurlsession
42.4k7.7k
xitu/gold-miner

🥇掘金翻译计划,可能是世界最大最好的英译中技术社区,最懂读者和译者的翻译平台:

androidtranslation
juejin.cn/tag/%E6%8E%98%E9%87%91%E7%BF%BB%E8%AF%91%E8%AE%A1%E5%88%92
34.3k5k
MonitorControl/MonitorControl

🖥 Control your display's brightness & volume on your Mac as if it was a native Apple Display. Use Apple Keyboard keys or custom shortcuts. Shows the native macOS OSDs.

SwiftMIT Licensemacoskeyboard
monitorcontrol.app
33.8k983
shadowsocks/ShadowsocksX-NG

Next Generation of ShadowsocksX

SwiftGNU General Public License v3.0shadowsocksswift
32.9k7.8k
kodecocodes/swift-algorithm-club

Algorithms and data structures in Swift, with explanations!

SwiftMIT Licenseswiftdata-structures
29.1k5k
jordanbaird/Ice

Powerful menu bar manager for macOS

SwiftGNU General Public License v3.0macosmenubar
icemenubar.app
29k824
airbnb/lottie-ios

An iOS library to natively render After Effects vector animations

SwiftApache License 2.0animationbodymovin
lottie.airbnb.tech
26.8k3.8k