Sebastian (塞巴斯蒂安) / 饒漢文 (vorpal) wrote in macosxdev,
Sebastian (塞巴斯蒂安) / 饒漢文

Cocoa calendar control?

Hi all,

Does anyone know if there's a calendar control in Cocoa? Something like you'd find in the System Preferences Date & Time panel? I could try to figure out how to build one by hand, but I'd rather not, unless absolutely necessary.

  • Post a new comment


    default userpic

    Your IP address will be recorded 

Yes, NSDatePicker.
In Xcode/Interface Builder, there's a template (in the template pop up window that pops up when you open up Xcode/Interface Builder) for a rotating calendar...that is gear like. you can move the months up and down. you can move the days up and down. You can move the year up and down...