Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
younatics authored Sep 11, 2017
1 parent 6fd9d15 commit 75dc4f9
Showing 1 changed file with 49 additions and 42 deletions.
91 changes: 49 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,50 +56,57 @@ func media(for mediaBrowser: MediaBrowser, at index: Int) -> Media {
You can also see all usage in demo project.

#### MediaBrowser

| Property | Type |
| -------- | --- |
| navigationBarTranslucent | Bool |
| navigationBarTextColor | UIColor |
| navigationBarTintColor | UIColor |
| statusBarStyle | UIStatusBarStyle |
| toolbarTextColor | UIColor |
| toolbarBarTintColor | UIColor |
| toolbarBackgroundColor | UIColor |
| hasBelongedToViewController | Bool |
| isVCBasedStatusBarAppearance | Bool |
| statusBarShouldBeHidden | Bool |
| displayActionButton | Bool |
| leaveStatusBarAlone | Bool |
| performingLayout | Bool |
| rotating | Bool |
| viewIsActive | Bool |
| didSavePreviousStateOfNavBar | Bool |
| skipNextPagingScrollViewPositioning | Bool |
| viewHasAppearedInitially | Bool |
| currentGridContentOffset | CGPoint |
| zoomPhotosToFill | Bool |
| displayMediaNavigationArrows | Bool |
| displaySelectionButtons | Bool |
| alwaysShowControls | Bool |
| enableGrid | Bool |
| enableSwipeToDismiss | Bool |
| startOnGrid | Bool |
| autoPlayOnAppear | Bool |
| hideControlsOnStartup | Bool |
| delayToHideElements | TimeInterval |
| captionAlpha | CGFloat |
| toolbarAlpha | CGFloat |
| loadingIndicatorInnerRingColor | UIColor |
| loadingIndicatorOuterRingColor | UIColor |
| loadingIndicatorInnerRingWidth | CGFloat |
| loadingIndicatorOuterRingWidth | CGFloat |
| loadingIndicatorFont | UIFont |
| loadingIndicatorFontColor | UIColor |
| loadingIndicatorShouldShowValueText | Bool |
| mediaSelectedOnIcon | UIImage? |
| mediaSelectedOffIcon | UIImage? |
| mediaSelectedGridOnIcon | UIImage? |
| mediaSelectedGridOffIcon | UIImage? |
| `navigationBarTranslucent` | `Bool` |
| `navigationBarTextColor` | `UIColor` |
| `navigationBarTintColor` | `UIColor` |
| `statusBarStyle` | `UIStatusBarStyle` |
| `toolbarTextColor` | `UIColor` |
| `toolbarBarTintColor` | `UIColor` |
| `toolbarBackgroundColor` | `UIColor` |
| `hasBelongedToViewController` | `Bool` |
| `isVCBasedStatusBarAppearance` | `Bool` |
| `statusBarShouldBeHidden` | `Bool` |
| `displayActionButton` | `Bool` |
| `leaveStatusBarAlone` | `Bool` |
| `performingLayout` | `Bool` |
| `rotating` | `Bool` |
| `viewIsActive` | `Bool` |
| `didSavePreviousStateOfNavBar` | `Bool` |
| `skipNextPagingScrollViewPositioning` | `Bool` |
| `viewHasAppearedInitially` | `Bool` |
| `currentGridContentOffset` | `CGPoint` |
| `zoomPhotosToFill` | `Bool` |
| `displayMediaNavigationArrows` | `Bool` |
| `displaySelectionButtons` | `Bool` |
| `alwaysShowControls` | `Bool` |
| `enableGrid` | `Bool` |
| `enableSwipeToDismiss` | `Bool` |
| `startOnGrid` | `Bool` |
| `autoPlayOnAppear` | `Bool` |
| `hideControlsOnStartup` | `Bool` |
| `delayToHideElements` | `TimeInterval` |
| `captionAlpha` | `CGFloat` |
| `toolbarAlpha` | `CGFloat` |
| `loadingIndicatorInnerRingColor` | `UIColor` |
| `loadingIndicatorOuterRingColor` | `UIColor` |
| `loadingIndicatorInnerRingWidth` | `CGFloat` |
| `loadingIndicatorOuterRingWidth` | `CGFloat` |
| `loadingIndicatorFont` | `UIFont` |
| `loadingIndicatorFontColor` | `UIColor` |
| `loadingIndicatorShouldShowValueText` | `Bool` |
| `mediaSelectedOnIcon` | `UIImage?` |
| `mediaSelectedOffIcon` | `UIImage?` |
| `mediaSelectedGridOnIcon` | `UIImage?` |
| `mediaSelectedGridOffIcon` | `UIImage?` |
| `preCachingEnabled` | `Bool` |


| Method | Explanation |
| -------- | --- |
| `setCurrentIndex(at index: Int)` | Set current indexPath when start. Also, set first before `preCachingEnabled` |

## Installation
### Cocoapods
Expand Down

0 comments on commit 75dc4f9

Please sign in to comment.