views:

115

answers:

1

Hi!!

I have one mainViewController that is also a delegate for a pickerview contained in the mainView.

I have also another view that contains a coverflow. I want to add the coverflow to my main view and make the mainViewController it's delegate. I do not know if it is possible. I used the following with no success:

@interface MainViewController : UIViewController

I do not know if it is only sintax problem or what do i need to do.

thanks in advantage for your help

Alejandra :)

+1  A: 

I don't exactly understand what is coverflow :) But for declaring MainViewController as a delegate you need to use something like this:

@interface MainViewController: UIViewController<UIPickerViewDelegate, AnyOtherDelegate1, AnyOtherDelegate2, AnyOtherDelegate3>
Valerii Hiora
Thanks Valerii!!!! that work for me regards from Guadalajara Mexico!!
Alejandra