Reply to topic  [ 4 posts ] 
Cool! Just created my own UIControl :D 
Author Message
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 7:35 pm
Posts: 6580
Location: Getting there
Reply with quote
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

_________________
Oliver Foggin - iPhone Dev

JJW009 wrote:
The count will go up until they stop counting. That's the way counting works.


Doodle Sub!
Game Of Life

Image Image


Thu Aug 26, 2010 10:50 pm
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 5288
Location: ln -s /London ~
Reply with quote
Screenshot! Any chance you'll be sharing any controls you produce on something like Github?

_________________
timark_uk wrote:
Gay sex is better than no sex

timark_uk wrote:
Edward Armitage is Awesome. Yes, that's right. Awesome with a A.


Fri Aug 27, 2010 10:50 am
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 7:35 pm
Posts: 6580
Location: Getting there
Reply with quote
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.

_________________
Oliver Foggin - iPhone Dev

JJW009 wrote:
The count will go up until they stop counting. That's the way counting works.


Doodle Sub!
Game Of Life

Image Image


Fri Aug 27, 2010 11:02 am
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 5288
Location: ln -s /London ~
Reply with quote
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.

_________________
timark_uk wrote:
Gay sex is better than no sex

timark_uk wrote:
Edward Armitage is Awesome. Yes, that's right. Awesome with a A.


Fri Aug 27, 2010 11:19 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.