From 73b0883b5473060fa7831b222a54119046b1dd24 Mon Sep 17 00:00:00 2001 From: Daniel Dahan Date: Fri, 24 May 2019 12:22:49 -0400 Subject: [PATCH 1/3] added installation instructions to README --- CHANGELOG.md | 4 ++++ README.md | 44 ++++++++++++++++++++++++++++++++++++++++++-- Sources/Info.plist | 2 +- 3 files changed, 47 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5dd6e3e..64f0712 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.1.1 + +* Added installation instructions to README. + ## 2.1.1 * Updated for Swift 4.1. diff --git a/README.md b/README.md index 8cc456d..e2348af 100644 --- a/README.md +++ b/README.md @@ -39,10 +39,50 @@ Algorithm is a library of tools that is used to create intelligent applications. ## Installation -> **Embedded frameworks require a minimum deployment target of iOS 8 or OS X Mavericks (10.9).** +> **Embedded frameworks require a minimum deployment target of iOS 8.** > - [Download Algorithm](https://github.com/CosmicMind/Algorithm/archive/master.zip) -Visit the [Installation](https://github.com/CosmicMind/Algorithm/wiki/Installation) page to learn how to install Algorithm using [CocoaPods](http://cocoapods.org) and [Carthage](https://github.com/Carthage/Carthage). +## CocoaPods + +[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command: + +```bash +$ gem install cocoapods +``` + +To integrate Algorithm's core features into your Xcode project using CocoaPods, specify it in your `Podfile`: + +```ruby +source 'https://github.com/CocoaPods/Specs.git' +platform :ios, '8.0' +use_frameworks! + +pod 'Algorithm', '~> 3.1.0' +``` + +Then, run the following command: + +```bash +$ pod install +``` + +## Carthage + +Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. + +You can install Carthage with Homebrew using the following command: + +```bash +$ brew update +$ brew install carthage +``` +To integrate Algorithm into your Xcode project using Carthage, specify it in your Cartfile: + +```bash +github "CosmicMind/Algorithm" +``` + +Run `carthage update` to build the framework and drag the built `Algorithm.framework` into your Xcode project. ## Changelog diff --git a/Sources/Info.plist b/Sources/Info.plist index 543e5f9..d353b3e 100644 --- a/Sources/Info.plist +++ b/Sources/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 3.1.0 + 3.1.1 CFBundleSignature ???? CFBundleVersion From 03214a1c645a8861b6fd5059a56a48882ec30522 Mon Sep 17 00:00:00 2001 From: Daniel Dahan Date: Fri, 24 May 2019 12:25:39 -0400 Subject: [PATCH 2/3] updated podspec --- Algorithm.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Algorithm.podspec b/Algorithm.podspec index 6b8144a..91feb78 100644 --- a/Algorithm.podspec +++ b/Algorithm.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Algorithm' - s.version = '3.1' + s.version = '3.1.1' s.swift_version = '5.0' s.license = 'BSD-3-Clause' s.summary = 'A toolset for writing algorithms in Swift.' From 8ddaa1521a6cbcc9e7d91f245807e0ff7b739b15 Mon Sep 17 00:00:00 2001 From: Daniel Dahan Date: Sun, 8 Sep 2019 11:27:56 -0400 Subject: [PATCH 3/3] updated repo URL in podspec --- Algorithm.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Algorithm.podspec b/Algorithm.podspec index 91feb78..0c5a5cc 100644 --- a/Algorithm.podspec +++ b/Algorithm.podspec @@ -4,7 +4,7 @@ Pod::Spec.new do |s| s.swift_version = '5.0' s.license = 'BSD-3-Clause' s.summary = 'A toolset for writing algorithms in Swift.' - s.homepage = 'http://algorithmswift.io' + s.homepage = 'http://cosmicmind.com' s.social_media_url = 'https://www.facebook.com/cosmicmindcom' s.authors = { 'CosmicMind, Inc.' => 'support@cosmicmind.com' } s.source = { :git => 'https://github.com/CosmicMind/Algorithm.git', :tag => s.version }