Skip to content

Commit 02729f5

Browse files
committed
support CocoaPods
1 parent eca254c commit 02729f5

File tree

4 files changed

+33
-4
lines changed

4 files changed

+33
-4
lines changed

Example/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.2</string>
18+
<string>1.3</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>3</string>
22+
<string>4</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true/>
2525
<key>UILaunchStoryboardName</key>

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,21 @@ TBEmptyDataSet can be composed of an image, a title and a description, or you ca
99

1010
##How To Get Started
1111
###Carthage
12-
Specify "TBEmptyDataSet" in your Cartfile:
12+
Specify "TBEmptyDataSet" in your ```Cartfile```:
1313
```ogdl
1414
github "teambition/TBEmptyDataSet"
1515
```
1616

17+
###CocoaPods
18+
Specify "TBEmptyDataSet" in your ```Podfile```:
19+
```ruby
20+
source 'https://github.com/CocoaPods/Specs.git'
21+
platform :ios, '8.0'
22+
use_frameworks!
23+
24+
pod 'TBEmptyDataSet'
25+
```
26+
1727
###Usage
1828
##### 1. Assign the data source and delegate
1929
```swift

TBEmptyDataSet.podspec

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Pod::Spec.new do |s|
2+
3+
s.name = "TBEmptyDataSet"
4+
s.version = "1.3"
5+
s.summary = "An extension of UITableView/UICollectionView's super class, it will display a placeholder when the data is empty."
6+
7+
s.homepage = "https://github.com/teambition/TBEmptyDataSet"
8+
s.license = { :type => "MIT", :file => "LICENSE.md" }
9+
s.author = "Xin Hong"
10+
11+
s.source = { :git => "https://github.com/teambition/TBEmptyDataSet.git", :tag => s.version.to_s }
12+
s.source_files = "TBEmptyDataSet/*.swift"
13+
14+
s.platform = :ios, "8.0"
15+
s.requires_arc = true
16+
17+
s.frameworks = "Foundation", "UIKit"
18+
19+
end

TBEmptyDataSet/Supporting Files/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.2</string>
18+
<string>1.3</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

0 commit comments

Comments
 (0)