dorkhub

RDVCalendarView

Fully adaptable, drop-in calendar interface for iOS, built on UICollectionView principles for localized date selection.

robbdimitrov
Objective-C19546 forksMITupdated 4 years ago
git clone https://github.com/robbdimitrov/RDVCalendarView.gitrobbdimitrov/RDVCalendarView

RDVCalendarView

iPad screenshot

iPhone screenshot

  • Supports iPad and iPhone
  • Supports landscape and portrait orientations
  • Highly customizable
  • Fully localized using NSLocale

Installation

CocoaPods

If you're using CocoaPods, simply add pod 'RDVCalendarView' to your Podfile.

Drag & Drop

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.

Example Usage

See the included demo project.

Components

  • RDVCalendarViewController - quite simple class, holds RDVCalendarView instance as its view. Subclass or use as it is. Conforms to RDVCalendarViewDelegate 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 to UITableViewCell. By default contains only textLabel. Add additional subviews to the contentView. Make sure you call [super layoutSubviews] inside subclass' layoutSubviews implementation.

Requirements

  • ARC
  • iOS 5.0 or later

Contact

Robert Dimitrov
@robbdimitrov

License

RDVCalendarView is available under the MIT license. See the LICENSE file for more info.

more like this

ForwardWidgets

Widgets for Douban and Trakt watchlists plus personalized recommendations, live TV streaming including PlutoTV, Yatu ra…

JavaScript247

VibeSDR

Vibe-coded, but not slop. A mobile-first SDR receiver for iOS, Android & Apple Watch — the live waterfall on your wrist…

C++53

search

search projects, people, and tags