Posted on February 6, 2019
by Steven Lipton
Leave a Comment
In the last tip, I showed you how to use UIPickerControllers to make a time interval input. What I didn’t show you is how to output that. In this tip I’ll show you how to read and convert data from a picker that has… Continue Reading “Time Picker Part 2: Strings to Time Intervals”
Category: GUI, iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, TutorialTags: convert, convert string to TimeInterval, ios, Picker, picker view, pickerview, seconds, string, timeInterval, UIPickerView, UIPIckerViewDataSource, UIPIckerViewDelegate
Posted on August 1, 2018
by Steven Lipton
1 Comment
The song says time is on my side, but I sometimes I wonder about that when trying to work with the time types in iOS. Let me show you some of the time types. In Xcode, Open up a blank playground. There are two… Continue Reading “Date and Time in iOS”
Category: iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, Swift, Swift 4.0, Swift Programming, TutorialTags: App Programming, Apple swift, date formatter, dateFormatter, formatting Date, formatting NSDate, iPhone Programming, Locale, NSTimeInterval, swift, time, timeInterval
Posted on December 19, 2016
by Steven Lipton
11 Comments
This week’s lesson covers a topic the I left off on last week’s lesson, but can be used outside that context. I thus wanted to cover it separately. Last week I showed you how to use a UIPickerView to input numbers with a lot less validation.… Continue Reading “Parsing Strings from Time and Fractions to Doubles”
Category: Swift ProgrammingTags: convert, convert fraction to string, convert string to TimeInterval, convert to String, fraction, iOS10, parser, string, swift, Swift playgrounds, time, time interval, timeInterval