daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @interface VenueIDController (){
  2.         NSMutableArray* IDData;
  3.         UIImage* IDBarcode;
  4.     }
  5.     -(void) displayIDData:(NSDictionary*)data;
  6.     @end
  7.  
  8.     @implementation VenueIDController
  9.     @synthesize delegate;
  10.  
  11. - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
  12. {
  13.     self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
  14.     if (self) {
  15.         // Custom initialization
  16.  
  17.        
  18.  
  19.  
  20.     }
  21.     return self;
  22. }
  23. -(id)awakeFromNib{
  24.    
  25.         self.delegate = self;
  26.         NSLog(@"%@",delegate);
  27.  
  28. }
  29.     -(void) displayIDData:(NSDictionary*)data{
  30.  
  31.         [delegate getID];
  32.  
  33.  
  34.         NSDictionary* idJSON = data;
  35.  
  36.  
  37.     }
  38.  
  39. - (void)viewDidLoad
  40. {
  41.     [super viewDidLoad];
  42.    
  43.    [self displayIDData:[delegate self]];
  44.     //something
  45.  
  46. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top