Our Smartphone Network: BlackBerryWindows MobileAndroidPalm Pre
iPhone Forums
EverythingiCafe iPhone cases, accessories iPhone Social iPhone Wallpapers iPhone forums iPhone blog iPhone accessory reviews iPhone news

Go Back   iPhone Forums > Desktop Software > Developers




Reply
 
LinkBack Thread Tools Display Modes
Old 05-27-2009, 02:06 PM   #1 (permalink)
 
Join Date: May 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Question Can one class implement two delegates ?

I am able to compile, but things don't work as I would expect at runtime. My Actionsheets worked fine until I added Alerts to my app.

My class is defined as follows in the .h file :

@interface ElderViewController : UIViewController
<UIActionSheetDelegate,UIAlertViewDelegate> {

Is this wrong ?

Thanks!
Kim
IndieKim is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 09-17-2009, 04:54 PM   #2 (permalink)
 
Join Date: Sep 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No there is nothing wrong in this, you can implement as many delegates as you want.
aboylearning is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 06:20 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Integrated by BBpixel