https://github.com/YouXianMing

[翻译] 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

 

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

 

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

posted @ 2014-10-28 21:54  YouXianMing  阅读(391)  评论(0编辑  收藏  举报