Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 96

Mackimack
Apple Fan
Profile
Posts: 481
Reg: Dec 30, 2010
Sweden
14,310
10/17/12 07:19 AM (13 years ago)

Coupon Plugin

Hi all. Movie clip https://dl.dropbox.com/u/83876419/Bt/Coupon%20plugin.mov I always like to have a coupon plugin. Now I have an example of how it might look. My idea is to be able to change a image with an offer from your control panel. (Offer picture as you can see on the movie clip, you can change how big it should be, everything is in a XIB file) I edit a reset button so I can show you how it works. The button is not there, then when the plugin is finish. I wondered if you can use more image with pagecontroll. so you can choose from such as 3 image and then you slide to activate the image. And it will not appear any more. But I will not be able to solve this myself. Has anyone done anything similar? I would like to know how to make the phone to know that you have to slide to activated the image. So you can not use this offer again.
 
ASusoeff
Aspiring developer
Profile
Posts: 296
Reg: Aug 13, 2011
Bryant, AR
13,460
like
10/17/12 08:50 AM (13 years ago)
This is an awesome idea @Mackimack. Please keep me in the loop as you develop this plugin! :-)
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
10/17/12 09:28 AM (13 years ago)
Hey Mack, Super awesome that you're making a plugin! For the "pagecontroll", use the image gallery code, in fact, use that as your base (with @MacApple's permission). That would solve a ton of trouble with image sliding. Integrate what code you have right now for the slider. After you slide, use the -release- snippet to render the slider "gone", and make the loop stop. It's hard to say without looking at the code directly, but there's gotta be a way to do this. I'm really new to all of this, so I'm just throwing words and more words out in this post, but I hope you get the idea of it. Keep us posted? Cheers, David https://buzztouchmods.com
 
Mackimack
Apple Fan
Profile
Posts: 481
Reg: Dec 30, 2010
Sweden
14,310
like
10/17/12 09:47 AM (13 years ago)
Hi David. Yes I try to do some plugins! I have send a new Custom loction map plugin for approval. David and parker will help me whit connection to CP and Android version. This plugin will do this. - Custom pins you can change to your own custom pin image. - You can add a image on the left in the callout. - You can see the distance from user position to pin postition in the subtitle on the callout. I can send the coupon plugin package to if you whant to look at it?
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
10/17/12 09:57 AM (13 years ago)
Hey Mack, I'm super busy so I don't think I can help too much, but PM me it and I will take a look tonight during my free time and maybe I can contribute something to help. Awesome plugin idea! Can't wait to see both in the market! Cheers, David https://buzztouchmods.com
 
Mackimack
Apple Fan
Profile
Posts: 481
Reg: Dec 30, 2010
Sweden
14,310
like
10/18/12 06:13 AM (13 years ago)
No I have add a UIScrollView whit Pagecontrol. https://dl.dropbox.com/u/83876419/Bt/Coupon%20plugin%202.mov My thought with a coupon plugin is that you should show it to the company that owns the app in their store, and then slide to activate offer. But if someone no how I can implement some remember code, When I have activate a coupon I will the app should remember that. So you not can use it no more.
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
10/22/12 04:39 AM (13 years ago)
@mackimack, this will be a great edition to the plugin market. while i can't help, i wish you luck in completing it. cant wait to see it in action
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
09/22/13 08:15 AM (12 years ago)
Well-crafted, nicely done! Is it ready for submittal into the market? May have to change the slider to be totally different than the built-in Slide To Unlock. Otherwise, Apple will say the user will get confused, "how did my iPhone get locked?!" It's a perfect clone! :-) -- Niraj
 

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.