doc
 All Classes Functions Variables Properties
Protected Attributes | Properties
EMSearchBar Class Reference

List of all members.

Protected Attributes

CGFloat _boxHeight

Properties

TTSearchTextField * searchField
BOOL clearsTextOnSearch
CGFloat boxHeight
BOOL usePopoverForTypeahead

Property Documentation

- (CGFloat) boxHeight [read, write, assign]

The box height is the height of the white rounded rectangle. TTSearchBar sets this based on the line height of the font, but we want to override this with an explicit height, since the optimal box height varies depending on our textFieldStyle.

Default = 32.

- (BOOL) clearsTextOnSearch [read, write, assign]

TTSearchBar and TTSearchTextField were designed to clear the text once a search was applied, since the use case was to search a table view.

We expose this flag so we can set it to NO for the EMSearchQueryInfiniteScrollController.


The documentation for this class was generated from the following files: