Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 93

AussieRyan
Aspiring developer
Profile
Posts: 148
Reg: Mar 21, 2012
Margate, QLD Au...
1,480
09/06/12 02:08 PM (13 years ago)

Camera email plugin Semantic issue

Self Hosted. I open ios project (not using camera email plugin) and get message upon build: Sending 'BT_camera_email *' to parameter of incompatible type 'id<UIActionSheetDelegate>' the warning appears about line 30 of BT_camera_email.m
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
09/06/12 10:27 PM (13 years ago)
Hi mate, Yup yup creator of the plugin said that the warnings should not at all effect the plugin or the application in any way, you can leave those there no problem. Cheers, David buzztouchmods.com
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/07/12 01:43 AM (13 years ago)
I've not seen this plugin but I'll bet a few bucks that the .h does not include the interface for the UIActionSheet delegate. Have a look at it...does it look like... @interface BT_camera_email: UIView <UIActionSheetDelegate> ... ... ... See the <UIActionSheetDelegate>? The interface (the .h file) may include a longer list of interfaces between the <>, this is ok. Comma separate them if there are more than one. This should get rid of any warnings like: incompatible type 'id<UIActionSheetDelegate>'
 
AussieRyan
Aspiring developer
Profile
Posts: 148
Reg: Mar 21, 2012
Margate, QLD Au...
1,480
like
09/07/12 01:52 PM (13 years ago)
That fixed it.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
09/07/12 02:14 PM (13 years ago)
Awesome, emailing plugin creator to this thread, thanks @David, @Aussie. David buzztouchmods.com
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/07/12 05:42 PM (13 years ago)
Starting to think I have actually memorized 15,000 lines of code. Geez. I need a life!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.