Skip to content

Commit 15d4034

Browse files
committed
Initial pod setup
1 parent 9288d58 commit 15d4034

File tree

3 files changed

+66
-0
lines changed

3 files changed

+66
-0
lines changed

LICENSE

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2018 Ivan Rep <[email protected]>
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,3 +204,7 @@ extension UITableView {
204204
```
205205

206206
This is also where the ```ReusablePresenterSource``` comes into play. Data source automatically registers ```reuseIdentifier``` based on ```ReusablePresenter.source``` property. To disable this behavior set data sources ```automaticallyRegisterReuseIdentifiers``` to ```fasle```.
207+
208+
## License
209+
210+
ReusableDataSource is available under the MIT license. See the LICENSE file for more info.

ReusableDataSource.podspec

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
#
2+
# Be sure to run `pod lib lint ReusableDataSource.podspec' to ensure this is a
3+
# valid spec before submitting.
4+
#
5+
# Any lines starting with a # are optional, but their use is encouraged
6+
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
7+
#
8+
9+
Pod::Spec.new do |s|
10+
s.name = 'ReusableDataSource'
11+
s.version = '0.1.0'
12+
s.summary = 'ReusableDataSource for table and collection view written in Swift'
13+
14+
# This description is used to generate tags and improve search results.
15+
# * Think: What does it do? Why did you write it? What is the focus?
16+
# * Try to keep it short, snappy and to the point.
17+
# * Write the description between the DESC delimiters below.
18+
# * Finally, don't worry about the indent, CocoaPods strips it!
19+
20+
s.description = <<-DESC
21+
Never again write a custom UITableView or UICollectionView data source
22+
DESC
23+
24+
s.homepage = 'https://github.com/Rep2/ReusableDataSource'
25+
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
26+
s.license = { :type => 'MIT', :file => 'LICENSE' }
27+
s.author = { 'Ivan Rep' => '[email protected]' }
28+
s.source = { :git => 'https://github.com/Rep2/ReusableDataSource.git', :tag => s.version.to_s }
29+
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
30+
31+
s.ios.deployment_target = '9.0'
32+
33+
s.source_files = 'ReusableDataSource/**/*'
34+
s.swift_version = '4.1'
35+
36+
# s.resource_bundles = {
37+
# 'ReusableDataSource' => ['ReusableDataSource/Assets/*.png']
38+
# }
39+
40+
# s.public_header_files = 'Pod/Classes/**/*.h'
41+
# s.frameworks = 'UIKit', 'MapKit'
42+
# s.dependency 'AFNetworking', '~> 2.3'
43+
end

0 commit comments

Comments
 (0)