NWCalendarView alternatives and similar libraries
Based on the "Calendar" category.
Alternatively, view NWCalendarView alternatives based on common mentions on social networks and blogs.
-
JTAppleCalendar
The Unofficial Apple iOS Swift Calendar View. Swift calendar Library. iOS calendar Control. 100% Customizable -
MBCalendarKit
An open source calendar framework for iOS, with support for customization, IBDesignable, Autolayout, and more. -
RCalendarPicker
RCalendarPicker A date picker control, Calendar calendar control, select control, calendar, date selection, the clock selection control. ζ₯εζ§δ»Ά οΌζ₯ειζ©ζ§δ»ΆοΌζ₯εοΌζ₯ζιζ©οΌζΆιιζ©ζ§δ»Ά -
PTEventView
An Event View based on Apple's Event Detail View. Written in Swift 3. Supports ARC, Autolayout and editing via StoryBoard.
InfluxDB high-performance time series database

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of NWCalendarView or a related project?
README
NWCalendarView
NWCalendar View is an iOS control that displays a calendar. It is perfect for appointment or availibilty selection. It allows for selection of a single date or a range. It also allows to disable dates that are unavailable.
Sample Usage
@IBOutlet weak var calendarView: NWCalendarView!
override func viewDidLoad() {
super.viewDidLoad()
calendarView.layer.borderWidth = 1
calendarView.layer.borderColor = UIColor.lightGrayColor().CGColor
calendarView.backgroundColor = UIColor.whiteColor()
var date = NSDate()
let newDate = date.dateByAddingTimeInterval(60*60*24*8)
let newDate2 = date.dateByAddingTimeInterval(60*60*24*9)
let newDate3 = date.dateByAddingTimeInterval(60*60*24*30)
calendarView.disabledDates = [newDate, newDate2, newDate3]
calendarView.selectionRangeLength = 7
calendarView.maxMonths = 4
calendarView.delegate = self
calendarView.createCalendar()
}
Customization
Make sure to call createCalendar()
setting your custom options
disable dates
// Takes an array of NSDates
calendarView.disabledDates = [newDate, newDate2, newDate3]
Set Max Months
You may only want to allow going 4 months into the future
calendarView.maxMonths = 4
Set selection Range (defaults to 0)
selectionRangeLength = 7
Delegate
didChangeFromMonthToMonth(fromMonth: NSDateComponents, toMonth: NSDateComponents)
func didChangeFromMonthToMonth(fromMonth: NSDateComponents, toMonth: NSDateComponents) {
println("Change From month \(fromMonth) to month \(toMonth)")
}
didSelectDate(fromDate: NSDateComponents, toDate: NSDateComponents)
func didSelectDate(fromDate: NSDateComponents, toDate: NSDateComponents) {
println("Selected date \(fromDate.date!) to date \(toDate.date!)")
}
TODO
- Enable going into the past
- Dynamic adding of months when scrolling in to past
- Make all aspects customizable (font, colors, etc..)
- Turn into cocoapod
License
MIT
*Note that all licence references and agreements mentioned in the NWCalendarView README section above
are relevant to that project's source code only.