开发者

Why does MonoTouch UIPickerViewModel have GetTitle?

开发者 https://www.devze.com 2023-02-17 23:11 出处:网络
I see that UIPickerViewModel has a GetTitle method, but I don\'t understand when it is used or if it is there in error as the GetTitle method that is used on UIPickerViewDelegate is the one that provi

I see that UIPickerViewModel has a GetTitle method, but I don't understand when it is used or if it is there in error as the GetTitle method that is used on UIPickerViewDelegate is the one that provides the strings to the UIPicker.

As always, I figure maybe I'm missing s开发者_如何学Goomething. Is there a purpose for the GetTitle on the UIPickerviewModel? I didn't see such a method in the Apple Documentation for the class.


UIPickerViewModel is a blended source (ie; it implements the delegate and the datasource). If you use the delegate and datasource, you should not use the model.

0

精彩评论

暂无评论...
验证码 换一张
取 消