The viewController

Hello,

I’m fairly new to the whole Objective-C thing, but I’ve finally managed to get FlurryAds implemented into my application, to some extend at least.

I don’t completely understand how I can set the viewController methods. E.g. what I’d like to do is set the following:

- (void)viewWillAppear:(BOOL)animated {  
 [super viewWillAppear:animated];  
   
 // Fetch and display banner ad  
 [FlurryAds fetchAndDisplayAdForSpace:@”BANNER\_MAIN\_VIEW”   
 view:self.view size:BANNER\_BOTTOM];  
}  
   
-(void) viewWillDisappear:(BOOL)animated {  
   
 [super viewWillDisappear:animated];  
   
 // Reset delegate  
 [FlurryAds removeAdFromSpace:@"BANNER\_MAIN\_VIEW"];  
}  

Where would I do this? [import]uid: 66464 topic_id: 33862 reply_id: 333862[/import]