Highly customizable calendarView and calendarViewController for iOS
If you're using CocoaPods, simply add
pod 'RDVCalendarView'to your Podfile.
Add the items from
RDVCalendarViewdirectory to your project. If you don't have ARC enabled, you will need to set a
-fobjc-arccompiler flag on the
.msource files.
See the included demo project.
RDVCalendarViewController - quite simple class, holds
RDVCalendarViewinstance as its view. Subclass or use as it is. Conforms to
RDVCalendarViewDelegateprotocol.
RDVCalendarView - build on the principles of UICollectionView and UITableView. If you need custom layout - subclass it and override
layoutSubviews. Make sure you call
[super layoutSubviews]inside your implementation.
RDVCalendarDayCell - used for the day cells inside
RDVCalendarView. It's similar to
UITableViewCell. By default contains only
textLabel. Add additional subviews to the
contentView. Make sure you call
[super layoutSubviews]inside subclass'
layoutSubviewsimplementation.
RDVCalendarView is available under the MIT license. See the LICENSE file for more info.