Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Haroon Akhtar
3,129 PointsHow would i implement a 10s time picker so a user can select how long they wish to let another user view the message?
so i would have a time picker where i could select anywhere between 1 and 10 seconds for a user to view my message.
1 Answer

Caleb Kleveter
Treehouse Moderator 37,862 PointsI think you might be able to do that by creating an array that is connected to a slider for example then depending on were the slider is you can select a number from the array, then plug that number into the timer duration. I haven't done this before so I don't know if it will work.
These links are from the retired course ios foundations:
https://teamtreehouse.com/library/ios-foundations/storyboards/setup
https://teamtreehouse.com/library/ios-foundations/core-data/terminology
I don't remember which video you would want, I also don't know if code from iOS 5 will work for you.