PersianCalendar written in Swift
now you can use of PersianCalendar in your project
open your terminal and enter pod install
pod 'PersianCalendar'
you can use persiancalendar in your storyboard. you should add a view to your viewcontroller and inherit of PersianCalendar
PersianCaldendar has a Delegate for take your selection Date.
@IBOutlet weak var vwCalendar: PersianCalendarView!
override func viewDidLoad() {
super.viewDidLoad()
vwCalendar.delegate = { calDate in
print(calDate)
}
}
and if you want to change font :
vwCalendar.font = UIFont(name: "IRANSansMonoSpacedNum-Light", size: 20)!