[翻译] INSSearchBar

时间:2022-12-12 14:41:57

INSSearchBar

[翻译] INSSearchBar

效果:

[翻译] INSSearchBar

[翻译] INSSearchBar

An animating search bar.

一个带动画效果的search bar.

Originally developed for ShopNow v2. (http://www.shopnow.de)

最开始这种效果是用在ShopNow v2中的. (http://www.shopnow.de)

The search bar is designed as a standalone component that can be easily drag'n'dropped into any existing iOS project.

这个search bar是一个独立的组件,能非常容易的导入到你的工程当中.

For a story behind this control see http://salanki.com/insomniac/2014/06/03/the-search-bar-experiment/

The swift version can be found at https://github.com/berlininsomniac/INSSearchBar_Swift

06.03.2014 Berlin Insomniac

设计精良的地方(用属性存储状态值,根据状态值执行动画):

[翻译] INSSearchBar

先判断代理存不存在,存在的话再判断代理的方法存在不存在(虽然是已经用烂的技术)

[翻译] INSSearchBar