x404.co.uk
http://www.x404.co.uk/forum/

Cool! Just created my own UIControl :D
http://www.x404.co.uk/forum/viewtopic.php?f=4&t=10231
Page 1 of 1

Author:  Fogmeister [ Thu Aug 26, 2010 10:50 pm ]
Post subject:  Cool! Just created my own UIControl :D

Just writing more iPhone stuff and managed to create my very own UIView subclass to display some data to the screen.

The control display the min, max and mean of a range of numerical results from 0.0 to 10.0.

It's a bar that look a bit like this...

[----|===========X==|-----------------]

Where the full bar goes from 0 to 10, the shaded area is the min-max range and the X is the mean.

It's written so that it takes the 3 numbers in and calculates where everything goes and.

Never done anything like that before so I'm quite chuffed :D

It worked first time also :D

Author:  EddArmitage [ Fri Aug 27, 2010 10:50 am ]
Post subject:  Re: Cool! Just created my own UIControl :D

Screenshot! Any chance you'll be sharing any controls you produce on something like Github?

Author:  Fogmeister [ Fri Aug 27, 2010 11:02 am ]
Post subject:  Re: Cool! Just created my own UIControl :D

Yeah, I need to sign up to github.

TBH I don't really know what it's used for?

I'll def share this one :D

Screen shot later today as I'm at work atm.

Author:  EddArmitage [ Fri Aug 27, 2010 11:19 am ]
Post subject:  Re: Cool! Just created my own UIControl :D

Fogmeister wrote:
Yeah, I need to sign up to github.

TBH I don't really know what it's used for?

Well, any code-sharing site really. Google Code or whatever you feel like, that was just the first that came to mind. I'd find one that allows you to use a sensible license, though.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/