Advertisement
Guest User

Untitled

a guest
Jul 28th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. lazy var searchBar:UISearchBar = UISearchBar(frame: CGRectMake(0, 40, 140, 40))
  2.  
  3. searchBar.delegate = self;
  4.  
  5. func searchBarTextDidBeginEditing(searchBar: UISearchBar){
  6.  
  7. self.performSegueWithIdentifier("showSearchResults", sender: self)
  8. }
  9.  
  10. 2016-07-28 15:42:25.750 ABCApp[7745:3279712] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Receiver (<ABCApp.HomePageViewController: 0x7b08e910>) has no segue with identifier 'showSearchResults''
  11. *** First throw call stack:
  12.  
  13. -----
  14.  
  15. libc++abi.dylib: terminating with uncaught exception of type NSException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement