Using TTSearchBar with TTThumbsViewController
Posted
by scompt.com
on Stack Overflow
See other posts from Stack Overflow
or by scompt.com
Published on 2010-04-14T20:01:18Z
Indexed on
2010/04/14
20:03 UTC
Read the original article
Hit count: 312
I would like to layout a TTSearchBar
above above a TTThumbsViewController
. My current (failing) attempt involves my own SearchViewController
that inherits from TTViewController
and contains a reference to a TTThumbsViewController
and TTSearchBar
. In the loadView
method, I instantiate both TTThumbsViewController
and TTSearchBar
and add them (actually, ..the view
property of the TTTVC) as subviews. When the SearchViewController
is pushed, neither the TTThumbsViewController
nor the TTSearchBar
are displayed.
Am I going about this wrong? Is there a better way to add search to the TTThumbsViewController
?
© Stack Overflow or respective owner