Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 16    Views: 158

chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
04/16/14 01:58 PM (10 years ago)

New Plugin: Wheel Control

The Wheel Control plugin provides an animated wheel at the bottom of your app that can be used to select various screens. The wheel will remain on top of your app, regardless of what screen is loaded. A button in the center of the wheel can be pressed to move the wheel down, off the screen (with just the top part showing). Click the wheel again will reveal it once more. Also, as the user navigates through your app, the wheel will detect if they are on a screen that relates to one of the wheel segments. If so, the wheel will automatically rotate to that segment. This project was inspired by the how-to document "How to create a rotating wheel control with UIKit" by Cesare Rocchi. The full how-to is located at http://www.raywenderlich.com/9864/how-to-create-a-rotating-wheel-control-with-uikit. Although inspired, a lot of modifications were made from those instructions to arrive at this plugin.
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
04/16/14 02:06 PM (10 years ago)
Looks very cool Chris! Kind of like a tab tar without having to have a tabbar :) Is the wheel size adjustable (via code or otherwise)? I think I'd like to use it and have the wheel go from edge to edge, spanning the width of the screen.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
04/16/14 02:07 PM (10 years ago)
Right now, no it's not. You could maybe play around with the code to do so, but it's fairly complex I'll warn you. There's also some graphics that are designed with this size in mind, so you'd need to adjust those as well.
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
04/16/14 02:09 PM (10 years ago)
Ok, cool. Great job! Looks fantastic.
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
04/16/14 02:32 PM (10 years ago)
Chris you are a rock star!!
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
04/16/14 02:48 PM (10 years ago)
Very cool, nice work Chris!
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
04/16/14 05:06 PM (10 years ago)
Hey Chris, first off - I love this plugin. Second, I'm having an issue getting it to work. I am trying to populate the segments and it's stuck loading. I tried it on my self-hosting site and the BT site and the same thing occurs. Here's a screen shot. https://www.dropbox.com/s/oeqc22ue9sx72sd/Screen%20Shot%202014-04-16%20at%204.56.51%20PM.png The other thing is, it's not loading on my simulator. Not sure if this is all intertwined...
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
04/16/14 05:10 PM (10 years ago)
Spiffy! Cheers! -- Smug
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
04/16/14 08:19 PM (10 years ago)
Becky - I just updated the plugin to fix the control panel bug. Let me know if it works for you now or not.
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
04/16/14 08:58 PM (10 years ago)
Wow, this is a really cool plugin. Your screenshots don't do it justice:)
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
04/16/14 08:58 PM (10 years ago)
Thanks Becky! If you have any better screenshots to share, I'd love to include them on the plugin details page.
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
04/16/14 09:17 PM (10 years ago)
Ha, well the coolest thing is seeing it in motion. We'll see what I come up with as far as screenshots.
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
04/18/14 07:16 PM (10 years ago)
Hey Chris - It's not allowing me to use a menu with the plugin. I get the screen that says missing plugin. I've tried a few different menus with the same results.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
04/18/14 07:39 PM (10 years ago)
Hmm - can you send me your project folder via Dropbox?
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
04/18/14 08:06 PM (10 years ago)
Sent
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
05/02/14 03:22 AM (10 years ago)
Hi Chris, Same issue as Becky, and some more. When populating the Wheel Segments it's ok, but editing Segment Image breaks all and you have the 'missing plugin' issue. One icon is not displayed in the Wheel Segments. In the CP, just above the Wheel Segments populating area, we have 'Segments 2-7:'... should be 2-8??? Puzzling... In the JSON Data sample, there are 2 settings which are not appearing in the CP: useLargeCenterTab and useScrollableTabs ... but this plugin is really amazing! Cheers Jack
 
Mike the App Guy
Lost but trying
Profile
Posts: 435
Reg: Sep 19, 2011
Birmingham, Ala...
5,900
like
12/22/15 09:49 AM (8 years ago)
Have all the bugs with this plugin been fixed?
 

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.