Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // SAMasterViewController.m
- // SearchApp
- //
- // Created by Eric Martins on 16/01/13.
- // Copyright (c) 2013 Eric Martins. All rights reserved.
- //
- #import "SAMasterViewController.h"
- #import "SAProfileViewController.h"
- @interface SAMasterViewController () {
- NSMutableArray *listOfItems;
- }
- @end
- @implementation SAMasterViewController
- -(void)goToUserProfile :(id) sender
- {
- UITapGestureRecognizer *gesture = (UITapGestureRecognizer *) sender;
- SAProfileViewController *controller = [[SAProfileViewController alloc] init];
- controller.userId = gesture.view.tag; // << HERE COMES THE ERROR
- [self.navigationController pushViewController:controller animated:YES];
- }
- @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement