From 852d3311987874ef3773808a95eab22d8d803bbc Mon Sep 17 00:00:00 2001 From: ant_one Date: Mon, 25 Apr 2016 11:35:50 -0300 Subject: [PATCH] Fix Readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dae54dc..780dcf5 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ See the code snippet below for an example of how to implement, or example projec ```swift // add SKPhoto Array from UIImage -var images = [SKPhotoProtocol]() +var images = [SKPhoto]() let photo = SKPhoto.photoWithImage(UIImage())// add some UIImage images.append(photo) @@ -60,7 +60,7 @@ presentViewController(browser, animated: true, completion: {}) from web URLs: ```swift // URL pattern snippet -var images = [SKPhotoProtocol]() +var images = [SKPhoto]() let photo = SKPhoto.photoWithImageURL("https://placehold.jp/150x150.png") photo.shouldCachePhotoURLImage = false // you can use image cache by true(NSCache) images.append(photo) @@ -73,7 +73,7 @@ presentViewController(browser, animated: true, completion: {}) from local files: ```swift // images from local files -var images = [SKPhotoProtocol]() +var images = [SKLocalPhoto]() let photo = SKLocalPhoto.photoWithImageURL("..some_local_path/150x150.png") images.append(photo)