开发者

Create picker view for mac app just like we have in iphone

Hi can any b开发者_Go百科ody suggest me some ideas about creating picker view controls. I have to transform an iphone app to mac app.

So for that i want to customize my drop down list to look like iphone picker view.

Can i customize. Please suggest is this possible?


Rather than just making an iPhone app that can be launched on Mac OS X, you should make an actual Mac app. In this case, the correct control would be an NSPopUpButton.

You can make any custom view you want, but it's a lot of work, and the standard controls are often better.

For example, UIPickerView is designed for touch-screen usage; NSPopUpButton and NSMenu are designed for mouse and keyboard usage. UIPickerView is great because the apps that use it run on touch-screen hardware. If you try to implement a touch-optimized interface for a mouse-and-keyboard system, the resulting interface will be the worst of both worlds.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜