Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 11-23-2011, 07:51 AM   #1 (permalink)
New To iOS
 
Join Date: Nov 2011
Location: Waterloo, ON
Age: 20
Posts: 187
RileyE is on a distinguished road
Default UIPickerview Mask

Hi,

I'm new to the forums, so I'd like to introduce myself. If you don't care, then skip past this next paragraph. I won't be too upset.

My name is Riley and I'm a 19 year old developer, currently enrolled in CS at UWaterloo. I'm fairly experienced when it comes to object oriented programming languages (and other languages as well), but I am brand new to Objective-C and the iOS libraries. I really hope to learn a lot and contribute in the future here in this forum.

Now, for my first question.

I am currently just messing around with certain frameworks and I would like to be able to add a mask to a PickerView. By that, I mean that I have my PickerViews populated with their content already, but I would like to give each component a mask to label what is in it. For example, I would like to have a two component PickerView with numbers 1->12 and 1->28/29/30/31 in the first and second components respectively also say "Month" and "Day".

I know that I could just add that to each row, but I like the look of how Apple has done it in their DatePicker as the tags are locked in place as the content scrolls by it. Specifically in the Timer component as it has "hours" and "mins" always beside the current selected row.

If someone could let me know how to mask the components in my PickerView, I would greatly appreciate it!

Thank you

Riley
RileyE is offline   Reply With Quote
Old 11-23-2011, 01:21 PM   #2 (permalink)
Just helping out.
 
Domele's Avatar
 
Join Date: Feb 2011
Posts: 2,565
Domele is on a distinguished road
Default

I had to do the exact same thing, this helped me out: A UIPickerView with labels @ NotTooBad Software
__________________
If you are looking for a quality developer, I'm your man. Give me a PM if you are interested.

New app - See screenshots and details at www.globaclock.com.

If you want to thank me, click the link. Every click counts. If you want to do more, buy my app. A link is available on my website. Thanks.
Domele is offline   Reply With Quote
Old 11-23-2011, 02:47 PM   #3 (permalink)
New To iOS
 
Join Date: Nov 2011
Location: Waterloo, ON
Age: 20
Posts: 187
RileyE is on a distinguished road
Default

Quote:
Originally Posted by Domele View Post
I had to do the exact same thing, this helped me out: A UIPickerView with labels @ NotTooBad Software
Wow! That's perfect! Thank you so much. Now on to the next problem! Timers...

Riley
RileyE is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 404
14 members and 390 guests
7twenty7, chiataytuday, Clouds, dedeys78, Duncan C, e2applets, EvilElf, iekei, ipodphone, leostc, Murphy, QuantumDoja, sacha1996, Sami Gh
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,676
Threads: 94,125
Posts: 402,910
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jleannex55
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:36 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0