Skip to content

Commit 951b95b

Browse files
committed
Update README
1 parent 1803722 commit 951b95b

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
[![Platform](https://img.shields.io/cocoapods/p/Lightbox.svg?style=flat)](http://cocoadocs.org/docsets/Lightbox)
77
![Swift](https://img.shields.io/badge/%20in-swift%204.0-orange.svg)
88

9-
[Demo](https://appetize.io/app/wfgwc2uvg82m9pzbt17p4rrgh4?device=iphone5s&scale=75&orientation=portrait&osVersion=9.3)
10-
119
<img src="https://raw.githubusercontent.com/hyperoslo/Lightbox/master/Images/Icon.png" alt="Lightbox Icon" align="right" />
1210

1311
**Lightbox** is a convenient and easy to use image viewer for your iOS app,
@@ -20,7 +18,7 @@ packed with all the features you expect:
2018
- [x] Dynamic background.
2119
- [x] Interactive transition animations.
2220
- [x] Powerful configuration.
23-
- [x] Demo project.
21+
- [x] [Live Demo](https://appetize.io/app/wfgwc2uvg82m9pzbt17p4rrgh4?device=iphone5s&scale=75&orientation=portrait&osVersion=9.3)
2422

2523
<div align="center">
2624
<img src="Images/demo.png" height="500">
@@ -111,9 +109,7 @@ extension ViewController: LightboxControllerDismissalDelegate: class {
111109

112110
### Image loading
113111

114-
By default images are loaded using `sendAsynchronousRequest` method of
115-
`NSURLConnection`. But it's easy to change this behavior using **Lightbox**
116-
configuration.
112+
By default images are loaded using [Imagary](https://github.com/hyperoslo/Imaginary) for reliable loading and caching. But it's easy to change this behavior using **LightboxConfig**
117113

118114
```swift
119115
LightboxConfig.loadImage = {
@@ -124,7 +120,7 @@ LightboxConfig.loadImage = {
124120

125121
### Video
126122

127-
**Lightbox** has video support out of the box. Configure video by using `videoURL`:
123+
**Lightbox** can show and plays video using default `AVPlayerViewController`. Showning video by using `videoURL`:
128124

129125
```swift
130126
LightboxImage(
@@ -162,7 +158,7 @@ LightboxConfig.DeleteButton.image = UIImage(named: ImageList.Lightbox.deleteButt
162158
LightboxConfig.DeleteButton.textAttributes = TextAttributes.Lightbox.deleteButton
163159
LightboxConfig.DeleteButton.text = "Delete"
164160

165-
LightboxConfig.InfoLabel.ellipsisText = "ShowMore"
161+
LightboxConfig.InfoLabel.ellipsisText = "Show more"
166162
```
167163

168164
## Installation

0 commit comments

Comments
 (0)