Search Screen: add People tab

- add contact picker view controller
This commit is contained in:
giomfo
2016-06-20 14:16:13 +02:00
parent 88520ce712
commit ea2b75623e
10 changed files with 511 additions and 27 deletions
@@ -73,6 +73,29 @@
_selectedIndex = index;
}
- (void)destroy
{
for (id viewController in viewControllers)
{
if ([viewController respondsToSelector:@selector(destroy)])
{
[viewController destroy];
}
}
viewControllers = nil;
sectionTitles = nil;
sectionLabels = nil;
if (selectedMarkerView)
{
[selectedMarkerView removeFromSuperview];
selectedMarkerView = nil;
}
[super destroy];
}
- (void)setSelectedIndex:(NSUInteger)selectedIndex
{
if (_selectedIndex != selectedIndex)