码迷,mamicode.com
首页 > 其他好文 > 详细

Search Bars(一)

时间:2015-06-08 17:22:13      阅读:118      评论:0      收藏:0      [点我收藏+]

标签:ios开发   移动互联网   objective-c   

A search bar provides an interface for text-based searches with a text box and buttons such as search and cancel. A search bar accepts text from users, which can be used as input for a search (shown here with placeholder text). A scope bar, which is available only in conjunction with a search bar—allows users to define the scope of a search (shown here below a search bar).

search bar提供了一个带有搜索、取消按钮以及文本框的基于文本搜索的界面。search bar接收用户输入的文本,用这些文本来作为搜索条件进行搜索(在这里显示为占位符)。scope bar,它只能连同search bar一起显示,允许用户定义搜索范围(下面显示就是一个search bar)。

技术分享

Purpose. Search bars allow users to:

  • Quickly find a value in a large collection
  • 在一个大的集合里面快速查找某个值
  • Create a scope filter
  • 创建一个范围过滤器
Implementation. Search bars are implemented in the UISearchBar class and discussed in the UISearchBar Class Reference.

Search Bars(一)

标签:ios开发   移动互联网   objective-c   

原文地址:http://blog.csdn.net/debolee/article/details/46414695

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!