Tag: UIPIckerViewDelegate
-
Swift Swift: Formatting a UIPickerView
[Updated to Swift 2.0/iOS9.0 9/15/15] I’ve posted on UIPickerViews before, but in the comments for that post, I got a question that needed an answer so big, it was worth a new post. UIPickerViews are those spinning wheel slot machine type controls. For a variety of reasons I went into in the earlier post they…
-
Swift Swift: Implementing Picker Views
[Updated to Swift3.0 10/4/16 SJL] This week, we’ll look at UIPickerView. Picker views are the spin-wheel like controls that often remind me of slot machines. Picker views, like table and collection views, are delegate based. You need to adopt a delegate and data source to get them to work properly. Picker views also take a lot…