Reputation: 293
My aim is to create a status bar application which will draw drop down calendar. I'm fairly new to programming in Objective-C and I thought this might be a good project to learn the language.
Do I a draw a calendar in an NSMenuItem(custom)
or is this the wrong approach.
Will I be using the NSDatePicker
to draw the calendar?
I cannot find a DatePicker
object in XCode which I can drag-drop on the canvas like in VS2010.
I want the calendar look like this:
How do I proceed?
Upvotes: 2
Views: 1941
Reputation: 27073
Checkout the following example:
Using MAAttachedWindow with an NSStatusItem
Download the project and change the SDK to make it working:
Now add the NSDatePicker
in Interface Builder and change its style to graphical
.
Upvotes: 3
Reputation: 9392
Just get a date picker and change it's style to Graphical.
Upvotes: 2