• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSButton ical Like
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSButton ical Like


  • Subject: Re: NSButton ical Like
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 19 Nov 2008 14:01:12 -0700


On Nov 19, 2008, at 12:37 PM, Emmanuel Pinault wrote:

How do I make a button like the mini calendar in ical (the one that show the days and when one is selected , it shows the day with a blue gradient)?


You've got to write one yourself and do all of the drawing, calendrical calculations (which is made somewhat easier by the NSCalendar class), event handling, etc. This is not easy if you are a beginner.

Of course, if mimicking the UI is not important, then you can use the built-in NSDatePicker control.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSButton ical Like
      • From: Emmanuel Pinault <email@hidden>
References: 
 >NSButton ical Like (From: Emmanuel Pinault <email@hidden>)

  • Prev by Date: Question about NSThread?
  • Next by Date: Re: How to get notification of rerun application
  • Previous by thread: NSButton ical Like
  • Next by thread: Re: NSButton ical Like
  • Index(es):
    • Date
    • Thread