From 484dd3e2bcaa8f6e514a4cd87bda1557abd0fa53 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Mon, 2 Mar 2020 18:30:55 +0800 Subject: [PATCH] Bumped the version to 0.2.0 Update Readme --- README.md | 5 ++++- SDWebImageLottiePlugin.podspec | 12 +++--------- SDWebImageLottiePlugin/Module/Info.plist | 2 +- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 2054128..035ccd5 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,10 @@ let lottieJSONURL: URL animationView.sd_setImage(with: lottieJSONURL) ``` -Note: If your Lottie json files contains references to App bundle images, you can use `SDWebImageContextLottieBundle` context option to pass the NSBundle object to load it. +Note: ++ You can also load lottie json files on `LOTAnimatedControl`, like switch button. ++ Lottie animation does not start automatically, you can use the completion block, or UITableView/UICollectionView's will display timing to play. ++ If your Lottie json files contains references to App bundle images, you can use `SDWebImageContextLottieBundle` context option to pass the NSBundle object to load it. ### Advanced usage diff --git a/SDWebImageLottiePlugin.podspec b/SDWebImageLottiePlugin.podspec index 86fadac..12ab240 100644 --- a/SDWebImageLottiePlugin.podspec +++ b/SDWebImageLottiePlugin.podspec @@ -8,17 +8,11 @@ Pod::Spec.new do |s| s.name = 'SDWebImageLottiePlugin' - s.version = '0.1.0' - s.summary = 'A short description of SDWebImageLottiePlugin.' - -# This description is used to generate tags and improve search results. -# * Think: What does it do? Why did you write it? What is the focus? -# * Try to keep it short, snappy and to the point. -# * Write the description between the DESC delimiters below. -# * Finally, don't worry about the indent, CocoaPods strips it! + s.version = '0.2.0' + s.summary = 'SDWebImage integration with Lottie Animation using remote JSON files' s.description = <<-DESC -TODO: Add long description of the pod here. +SDWebImageLottiePlugin is a plugin for SDWebImage framework, which provide the Lottie animation loading from JSON file. DESC s.homepage = 'https://github.com/SDWebImage/SDWebImageLottiePlugin' diff --git a/SDWebImageLottiePlugin/Module/Info.plist b/SDWebImageLottiePlugin/Module/Info.plist index 36754a4..bb97759 100644 --- a/SDWebImageLottiePlugin/Module/Info.plist +++ b/SDWebImageLottiePlugin/Module/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 0.1 + 0.2.0 CFBundleVersion $(CURRENT_PROJECT_VERSION)