From 370ccc67a1593c24c052c73546044a851222bfc6 Mon Sep 17 00:00:00 2001 From: Haneen Mahdin Date: Mon, 26 Sep 2022 22:22:24 +0530 Subject: [PATCH] Fix demo gif and add syntax highlighting for usage Fixed the path for the demo gif and also added some highlighting to the installation code and usage docs. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d0dd95c..9a3e096 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ UPCarouselFlowLayout `UPCarouselFlowLayout` is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile: -``` +```bash pod "UPCarouselFlowLayout" ``` @@ -24,7 +24,7 @@ pod "UPCarouselFlowLayout" Users can simply add to their Cartfile: -``` +```bash github "ink-spot/UPCarouselFlowLayout" ``` @@ -54,7 +54,7 @@ collectionView.collectionViewLayout = layout Set the `UICollectionView` layout class to `UPCarouselFlowLayout`, and set its `itemSize` and its properties. -![demo](images/ib_settings.png) +![demo](https://raw.githubusercontent.com/zepojo/UPCarouselFlowLayout/master/images/demo.gif) ### Properties