CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

CustomCalendar 0.0.2

CustomCalendar 0.0.2

Maintained by Manish Pandey.



  • By
  • Manish Pandey

Project Logo

License MIT CI Tests Carthage compatibility pod Plateform compatibility

Overview

Easy to use functional calendar for iOS projects.

  • Expanded (Rect style)

expanded_rect

  • Expanded (Round style)

expanded_rect

  • Collapsed (Rect style)

expanded_rect

Checkout example project

Usage

  // Step 1 - create
  let calendarView = CalendarView(data: CalendarViewModel(days: CalendarDayListViewModel(), weekDays: CalendarWeekHeaderViewModel.generateWeekDays())) { selectedDay in
        print(selectedDay)
    }
    
  // Step 2: Customize
  calendarView
    .dayStyle(CalendarDayStyle())
    .weekHeaderStyle(DefaultStyle())
    .dayPresentation(.expanded)

Installation Guide

Carthage

Step 1: Add following to your CartFile

github "LenisDev/Calendar" ~> 0.0.2

Step 2: run carthage update from current project directory.

That's all, you have it installed.


CocoaPods

Step 1: Add pod 'CustomCalendar', '~> 0.0.2' to your Podfile:

target 'MyApp' do
  pod 'CustomCalendar', '~> 0.0.2'
end

Step 2: run pod install from current project directory.

That's all, you have it installed.


Try it using following command

pod try Tab

Swift Package Manager

dependencies: [
    .package(url: "https://github.com/LenisDev/Calendar.git", .upToNextMajor(from: "0.0.2"))
]

Contribute

  • Play around and report bugs
  • Fix issues and create PR
  • Add documentations and new features