Skip to content

Commit

Permalink
Podspec & Swift Package
Browse files Browse the repository at this point in the history
  • Loading branch information
AliSoftware committed Jan 19, 2016
1 parent 819beec commit 37ce6b4
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import PackageDescription

let package = Package(
name: "Reusable"
)
36 changes: 36 additions & 0 deletions Reusable.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Pod::Spec.new do |s|

s.name = "Reusable"
s.version = "0.1.0"
s.summary = "A Swift mixins to deal with reusable UITableView and UICollectionView cells"

s.description = <<-DESC
Reusable is a [Swift Mixin](http://alisoftware.github.io/swift/protocol/2015/11/08/mixins-over-inheritance/)
to easily deal with your reusable UITableViewCell and UICollectionViewCell classes.
Simply make your `UITableViewCell` or `UICollectionViewCell` sublcasses
conform to either `Reusable` or `NibReusable` and you'll be able to
manipulate them way easier, and without worrying with String-type reuseIdentifiers
ever again, and instead use them in a type-safe manner!
For more info, see [my blog post](http://alisoftware.github.io/swift/generics/2016/01/06/generic-tableviewcells/)
about this technique.
DESC

s.homepage = "https://github.com/AliSoftware/Reusable"
s.license = { :type => "MIT", :file => "LICENSE" }


s.author = { "Olivier Halligon" => "olivier@halligon.net" }
s.social_media_url = "http://twitter.com/aligatr"

s.ios.deployment_target = "8.0"
s.tvos.deployment_target = "9.0"

s.source = { :git => "https://github.com/AliSoftware/Reusable.git", :tag => s.version.to_s }

s.source_files = "Sources"

s.framework = "UIKit"

end
File renamed without changes.

0 comments on commit 37ce6b4

Please sign in to comment.