Update README.md
This commit is contained in:
parent
40b22fb429
commit
287caf7db7
35
README.md
35
README.md
|
|
@ -1,23 +1,38 @@
|
|||
# FSCalendar
|
||||
|
||||
## Features
|
||||
### 1. Today, Selection, Infinite Scrolling, Event Mark, Horizontal and Vertical Scrolling
|
||||
### 1. Easy Appearance
|
||||

|
||||
|
||||

|
||||
|
||||
### 2. Custom Appearance
|
||||

|
||||
|
||||

|
||||
|
||||
### 3. Subtitle
|
||||

|
||||
### 2. Subtitle
|
||||

|
||||
|
||||
## Usage
|
||||
|
||||
To run the example project, clone the repo, and run `pod install` from the Example directory first.
|
||||
|
||||
### 1. Simple DataSource/Delegate Pattern
|
||||
_calendar.dataSource = self; // Must conform to FSCalendarDataSource
|
||||
_calendar.delegate = self; // Must conform to FSCalendarDataDelegate
|
||||
|
||||
Of course the dataSource and delegate property is IBOutlet supported.
|
||||
|
||||
### 2. Page Direction Supported
|
||||
_calendar.flow = FSCalendarFlowVertical; //Change to vertical flow, default is FSCalendarFlowHorizontal
|
||||
|
||||
### 3. Flexible Appearance Customization
|
||||
[[FSCalendar appearance] setTodayColor: [UIColor redColor]]; //Change today circle/rectangle fill color
|
||||
|
||||
Look into FSCalendar.h to see more
|
||||
|
||||
### 4. Header
|
||||
FSCalendarHeader *header = [[FSCalendarHeader alloc] initWithFrame:CGRectMake(0,0,_calendar.frame.size.width,_calendar.frame.size.height)];
|
||||
|
||||
We recommend set this in storyboard: drag a UIView Object, set the custom class to "FSCalendarViewHeader" and link it to the "header" property of the "FSCalendar" Object.
|
||||
|
||||
|
||||
## Requirements
|
||||
ios 7.0
|
||||
|
||||
## Installation
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue