Hi,
I have an application with a set of tabs. In one of the tabs I have implemented a table with searchbar feature (lets call this controller A). I have now added a home view to the application, which is laid over the tabController view.
I would like to add a searchbar to the home view (let's call this controller B), which is essentially the same as that implemented in the tab controller.
Can anybody suggest an elegant solution to this, with as little code duplication as possible? My first thought was to make controller B a subclass of controller A. However this falls over because controller B is being loaded from a nib file.
I have tried simply adding controller A's view as a subview of controller B's view, with no luck.