InteractiveView

发表于 4年以前  · 总阅读数:9610 次

Alt text

Design Theory

We want our views feel more responsive, acknowledging to the user that they are functional. In addition, we want the action to be cancellable if the user decides against their action after they touched down. This allows users to make quicker decisions since they can perform actions in parallel with thought.

What are fluid interfaces?

A fluid interface might also be called fast, smooth, natural, or magical. It’s a frictionless experience that just feels right.

The WWDC presentation talks about fluid interfaces as “an extension of your mind” and “an extension of the natural world”. An interface is fluid when it behaves according to the way people think, not the way machines think.

What makes them fluid?

Fluid interfaces are responsive, interruptible, and redirectable.

Installation

Swift Package Manager

Right now InteractiveView is only supported via swift package manager. You can also install it manually.

Usage

  • Set the class of your UIVIew in xib or storyboard as InteractiveView and make it fluid interactive.

Alt text

License

InteractiveView is licensed under MIT.

For more details visit the LICENSE file for more info.

Author

Fahid Attique - (https://github.com/fahidattique55)

InteractiveView

程序语言:Swift

 73个收藏

 2个关注

访问GitHub主页
 目录