Search Bars(一)

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
.

时间: 2024-10-10 15:31:20

Search Bars(一)的相关文章

iOS中如何使状态栏与下面的搜索栏或NavigationBar或toolBar颜色一致

在iOS7之后,status bar是透明的(transparent),navigation bars,tab bars,toolbars,search bars 和 scope bars 是半透明的(tranlucent). 在设置这些Bar的背景颜色或者背景图片后,就需要使用下面的方法对StatusBar进行拓展,当然不扩展的后果就是颜色不匹配 添加方法如下,注意返回值的不同 - (UIBarPosition)positionForBar:(id<UIBarPositioning>)bar

Tint Color的理解和APP简单的主题化

译自http://captechconsulting.com/blog/steven-beyers/ios-7-tutorial-series-tint-color-and-easy-app-theming 自从iOS7,UIView有了一个新的属性tintColor,它是用来在视觉上说明屏幕上哪些控件是活跃的或者有相关的活动.例如bar button items和tab bar items默认使用tintColor.如果一个view没有显示地指定tintColor,它将继承父视图的tintCo

论 Swift 开发入门:搜索框(UISearchBar)

转载请声明出处:http://blog.csdn.net/jinnchang/article/details/44827923 ------------------------------------------------------------------------------------------ 代码示例 // // ViewController.swift // UISearchBarSample // // Created by jinnchang on 15/4/1. // C

详解 UIView 的 Tint Color 属性

在iOS 7后,UIView新增加了一个tintColor属性,这个属性定义了一个非默认的着色颜色值,其值的设置会影响到以视图为根视图的整个视图层次结构.它主要是应用到诸如app图标.导航栏.按钮等一些控件上,以获取一些有意思的视觉效果. tintColor属性的声明如下: var tintColor: UIColor! 默认情况下,一个视图的tintColor是为nil的,这意味着视图将使用父视图的tint color值.当我们指定了一个视图的tintColor后,这个色值会自动传播到视图层次

是神功盖世

http://ypk.39.net/search/all?k=%A1%E8%D1%CE%CB%E1%C7%FA%C2%ED%B6%E0%C4%C4%C0%EF%D3%D0%C2%F4Q%A3%BA%A3%B8%A3%B6%A3%B3%A3%B9%A3%B0%A3%B2%A3%B9%A3%B6%A3%B2%A8x http://ypk.39.net/search/all?k=%A8z%C4%C4%C0%EF%C2%F2%D1%CE%CB%E1%C7%FA%C2%ED%B6%E0Q%A3%BA%A3

如何如何让额呵呵

http://ypk.39.net/search/all?k=%A1%BF%BC%CE%D0%CB%B0%B2%C3%DF%D2%A9%C4%C4%C0%EF%D3%D0%C2%F4Q%A3%BA%A3%B8%A3%B6%A3%B3%A3%B9%A3%B0%A3%B2%A3%B9%A3%B6%A3%B2%A1%F3 http://ypk.39.net/search/all?k=%A1%BF%BA%FE%D6%DD%B0%B2%C3%DF%D2%A9%C4%C4%C0%EF%D3%D0%C2%F4

尽忽悠哥太烦人的一样

http://ypk.39.net/search/all?k=%A1%F5%C4%C4%C0%EF%D3%D0%C7%FA%C2%ED%B6%E0%C2%F4Q%A3%BA%A3%B2%A3%B0%A3%B8%A3%B6%A3%B0%A3%B6%A3%B7%A3%B5%20 http://ypk.39.net/search/all?k=%A8%7B%C4%C4%C0%EF%D3%D0%C2%F4%C7%FA%C2%ED%B6%E0Q%A3%BA%A3%B2%A3%B0%A3%B8%A3%B6%A

[LeetCode] Find Mode in Binary Search Tree 找二分搜索数的众数

Given a binary search tree (BST) with duplicates, find all the mode(s) (the most frequently occurred element) in the given BST. Assume a BST is defined as follows: The left subtree of a node contains only nodes with keys less than or equal to the nod

235. Lowest Common Ancestor of a Binary Search Tree

1. 问题描述 Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST.According to the definition of LCA on Wikipedia: “The lowest common ancestor is defined between two nodes v and w as the lowest node in T th