Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @interface VenueIDController (){
- NSMutableArray* IDData;
- UIImage* IDBarcode;
- }
- -(void) displayIDData:(NSDictionary*)data;
- @end
- @implementation VenueIDController
- @synthesize delegate;
- - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
- {
- self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
- if (self) {
- // Custom initialization
- }
- return self;
- }
- -(id)awakeFromNib{
- self.delegate = self;
- NSLog(@"%@",delegate);
- }
- -(void) displayIDData:(NSDictionary*)data{
- [delegate getID];
- NSDictionary* idJSON = data;
- }
- - (void)viewDidLoad
- {
- [super viewDidLoad];
- [self displayIDData:[delegate self]];
- //something
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement