Can anyone tell me the correct way to check if sender was a UIBarButtonItem or not. NSLog gives me these depending on what sender is:
sender for segue = <UIBarButtonItem: 0x6845e70>
sender for segue = <NSIndexPath 0x687fd00> 2 indexes [0, 0]
What command is used in an if statement to check for UIBarButtonItem?
Thanks