uipickerviewdatasource Questions

2

Solved

I have protocols: class ViewController: UIViewController, UIPickerViewDelegate, UIPickerViewDataSource { I have data: let muteForPickerData = ["minute(s)","hour(s)"] In viewDidLoad I have: m...
Portaltoportal asked 8/10, 2016 at 14:37

5

Solved

I just create a new class in Swift, it's called myViewController and it's a UIViewController. Now I'm trying to make it a UIPickerViewDelegate and DataSource but i got a strange error import UIKi...
Conventional asked 26/7, 2014 at 12:11

1

Solved

I have two different UIPickerViews in my View. They work great when I set the dataSource and the delegate to the View they are hosted in via the storyboard, but when I try to do that via code as de...

3

Solved

It seems the UIPickerView no longer supports the use of NSAttributedString for picker view items. Can anyone confirm this? I found NS_AVAILABLE_IOS(6_0) in the UIPickerView.h file, but is this the ...
Multicellular asked 22/9, 2013 at 14:54

3

I have looked and looked on the net and not found much on this! I would like to know how you put images in a UIPicker so that each of the rows have a different image. #import "ViewController.h" ...
Lend asked 31/3, 2013 at 7:20
1

© 2022 - 2024 — McMap. All rights reserved.