- Supports iPad and iPhone
- Supports landscape and portrait orientations
- Highly customizable
- Fully localized using NSLocale
If you're using CocoaPods, simply add pod 'RDVCalendarView'
to your Podfile.
Add the items from RDVCalendarView
directory to your project. If you don't have ARC enabled, you will need to set a -fobjc-arc
compiler flag on the .m
source files.
See the included demo project.
-
RDVCalendarViewController - quite simple class, holds
RDVCalendarView
instance as its view. Subclass or use as it is. Conforms toRDVCalendarViewDelegate
protocol. -
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 toUITableViewCell
. By default contains onlytextLabel
. Add additional subviews to thecontentView
. Make sure you call[super layoutSubviews]
inside subclass'layoutSubviews
implementation.
- ARC
- iOS 5.0 or later
RDVCalendarView is available under the MIT license. See the LICENSE file for more info.