Skip to content

Commit

Permalink
Release 0.0.3.
Browse files Browse the repository at this point in the history
Added support for Carthage.
  • Loading branch information
rwbutler committed Aug 18, 2018
1 parent 53ba7f5 commit 10a8df8
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 29 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 36 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,47 @@ To run the example project, clone the repo, and run `pod install` from the Examp
## Requirements

## Installation
### Cocoapods

TailorSwift is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:
[CocoaPods](http://cocoapods.org) is a dependency manager which integrates dependencies into your Xcode workspace. To install it using [RubyGems](https://rubygems.org/) run:

```ruby
```
gem install cocoapods
```

To install TailorSwift using Cocoapods, simply add the following line to your Podfile:

```
pod "TailorSwift"
```

Then run the command:

```
pod install
```

For more information [see here](https://cocoapods.org/#getstarted).

### Carthage

Carthage is a dependency manager which produces a binary for manual integration into your project. It can be installed via [Homebrew](https://brew.sh/) using the commands:

```
brew update
brew install carthage
```

In order to integrate TailorSwift into your project via Carthage, add the following line to your project's Cartfile:

```
github "rwbutler/TailorSwift"
```

From the macOS Terminal run `carthage update --platform iOS` to build the framework then drag `TailorSwift.framework` into your Xcode project.

For more information [see here](https://github.com/Carthage/Carthage#quick-start).

## Author

Ross Butler
Expand Down
27 changes: 1 addition & 26 deletions TailorSwift.podspec
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
#
# Be sure to run `pod lib lint TailorSwift.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
s.name = 'TailorSwift'
s.version = '0.0.2'
s.version = '0.0.3'
s.summary = 'Tailor the Swift language to your needs by choosing from a number of extensions comprising useful functions missing in the core libraries.'

# 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.description = <<-DESC
Tailor the Swift language to your needs by choosing from a number of extensions comprising useful functions missing from the core libraries.
* CollectionAdditions - Map directly to an array of distinct elements instead of converting to an intermediate Set.
Expand All @@ -25,21 +10,11 @@ Tailor the Swift language to your needs by choosing from a number of extensions
DESC

s.homepage = 'https://github.com/rwbutler/TailorSwift'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Ross Butler' => 'github@rwbutler.com' }
s.source = { :git => 'https://github.com/rwbutler/TailorSwift.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/ross_w_butler'

s.ios.deployment_target = '8.0'

s.source_files = 'TailorSwift/Classes/**/*'

# s.resource_bundles = {
# 'TailorSwift' => ['TailorSwift/Assets/*.png']
# }

# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end

0 comments on commit 10a8df8

Please sign in to comment.