Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [self.searchControllerDelegate searchController:self didSelectSearchTerm:search.text];
- @protocol NBMSearchViewControllerDelegate <NSObject>
- - (void)searchController:(NBMSearchViewController *)controller didSelectSearchTerm:(NSString *)term;
- @end
- @property (weak, nonatomic) IBOutlet id<NBMSearchViewControllerDelegate> searchControllerDelegate;
- if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad) {
- [self setupApplicationForiPad];
- } else {
- [self setupApplicationForiPhone];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement