diff --git a/Example/Info.plist b/Example/Info.plist index 1bd217d..553b3e1 100644 --- a/Example/Info.plist +++ b/Example/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.2 + 1.3 CFBundleSignature ???? CFBundleVersion - 3 + 4 LSRequiresIPhoneOS UILaunchStoryboardName diff --git a/README.md b/README.md index f66d5c8..22ba5b9 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,21 @@ TBEmptyDataSet can be composed of an image, a title and a description, or you ca ##How To Get Started ###Carthage -Specify "TBEmptyDataSet" in your Cartfile: +Specify "TBEmptyDataSet" in your ```Cartfile```: ```ogdl github "teambition/TBEmptyDataSet" ``` +###CocoaPods +Specify "TBEmptyDataSet" in your ```Podfile```: +```ruby +source 'https://github.com/CocoaPods/Specs.git' +platform :ios, '8.0' +use_frameworks! + +pod 'TBEmptyDataSet' +``` + ###Usage ##### 1. Assign the data source and delegate ```swift diff --git a/TBEmptyDataSet.podspec b/TBEmptyDataSet.podspec new file mode 100644 index 0000000..b94d101 --- /dev/null +++ b/TBEmptyDataSet.podspec @@ -0,0 +1,19 @@ +Pod::Spec.new do |s| + + s.name = "TBEmptyDataSet" + s.version = "1.3" + s.summary = "An extension of UITableView/UICollectionView's super class, it will display a placeholder when the data is empty." + + s.homepage = "https://github.com/teambition/TBEmptyDataSet" + s.license = { :type => "MIT", :file => "LICENSE.md" } + s.author = "Xin Hong" + + s.source = { :git => "https://github.com/teambition/TBEmptyDataSet.git", :tag => s.version.to_s } + s.source_files = "TBEmptyDataSet/*.swift" + + s.platform = :ios, "8.0" + s.requires_arc = true + + s.frameworks = "Foundation", "UIKit" + +end diff --git a/TBEmptyDataSet/Supporting Files/Info.plist b/TBEmptyDataSet/Supporting Files/Info.plist index 602d864..4bbc96d 100644 --- a/TBEmptyDataSet/Supporting Files/Info.plist +++ b/TBEmptyDataSet/Supporting Files/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.2 + 1.3 CFBundleSignature ???? CFBundleVersion