Latest 1.0.0
Homepage https://github.com/Light413/CalendarView
License MIT
Platforms ios 8.0, requires ARC
Authors

CalendarView

A simple use for iOS Calendar – select date when pop -up。(demo for Xcode8.0 , ios10 ,ARC) 。

CalendarView

Adding to your project

use pod(iOS8.0 and later) :

pod 'PickerCalendarView', '~> 1.0.0'

not pod :
download the demo , pull `PickerCalendarView folder ` into your project.

only use `CalendarView` :

CalendarView * _v = [[CalendarView alloc]initWithFrame:CGRectMake(10, 100, 300, 250)];
    _v.delegate = self;
    [self.view addSubview:_v];    

as follows:


CalendarView

if you think the headview isn’t right ,you can hide it in file CalendarView.h ,just like this

//#define NeedHeadView

and add custom .

use pop-up function:

 [PickerCalendarView showWithDelegate:self];

you should implement it’s delegate mothods for get data.
that is all , just see code.

Latest podspec

{
    "name": "PickerCalendarView",
    "version": "1.0.0",
    "summary": "A simple use case for iOS Calendar.",
    "homepage": "https://github.com/Light413/CalendarView",
    "license": "MIT",
    "authors": {
        "Light413": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/Light413/CalendarView.git",
        "tag": "1.0.0"
    },
    "source_files": "calendar/PickerCalendarView/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This