Jtapplecalendar: change dateformatter

Created on 12 Apr 2016  Â·  7Comments  Â·  Source: patchthecode/JTAppleCalendar

hi
how can change date formatter to jalali and change style number ??
thanks for help ??

question

Most helpful comment

Have you looked at the tutorial?
CellView.xib

  1. Changing the font
    Go there and change the font of the text to what ever you want.
  2. Changing the date formatter
    Look at the delegate setup function
    func configureCalendar(calendar: JTAppleCalendarView) -> (startDate: NSDate, endDate: NSDate, calendar: NSCalendar)
    You provide you own calendar in there. Setup the calendar to what ever you want it to be.

All 7 comments

Have you looked at the tutorial?
CellView.xib

  1. Changing the font
    Go there and change the font of the text to what ever you want.
  2. Changing the date formatter
    Look at the delegate setup function
    func configureCalendar(calendar: JTAppleCalendarView) -> (startDate: NSDate, endDate: NSDate, calendar: NSCalendar)
    You provide you own calendar in there. Setup the calendar to what ever you want it to be.

I don't want to just change font i want change style ,look a picture
unnamed

Take a look at the tutorial. You can the setup the CellView.xib however you want.
screen shot 2016-04-12 at 11 53 35 am

By the way, did you create that calendar using JTAppleCalendar?

yes

Hey, if you are able to build your calendar, can i use your image as an example in my documentation?

yeah .sure

Cool. when you are finished with you. You can upload the image here -> https://github.com/patchthecode/JTAppleCalendar/issues/2

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Fatalution picture Fatalution  Â·  3Comments

PedroAnibarro1 picture PedroAnibarro1  Â·  5Comments

VladFrolov picture VladFrolov  Â·  4Comments

zhanswift picture zhanswift  Â·  5Comments

nikolalukovic picture nikolalukovic  Â·  4Comments