From fdea670ab297ba9875a5a3c9fde45e115167bdb4 Mon Sep 17 00:00:00 2001 From: Saurabh Rane Date: Tue, 5 Dec 2017 22:27:36 -0800 Subject: [PATCH] Release 2.0 --- CHANGELOG.md | 9 ++++++++- README.md | 4 ++-- SwiftIcons.podspec | 4 ++-- SwiftIcons/AboutViewController.swift | 2 +- SwiftIcons/Base.lproj/Main.storyboard | 18 ++++++++++++------ SwiftIcons/Extensions.swift | 2 +- docs/images/pic01.png | Bin 97876 -> 98495 bytes 7 files changed, 26 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 07f4b1b..4e4219d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ## [Unreleased] +## [2.0] - 2017-12-06 + +### Changed + +- Support for Swift 4.0 + ## [1.5.1] - 2017-06-08 ### Changed @@ -66,7 +72,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - Initial Version of SwiftIcons - Support for Cocoapods -[Unreleased]: https://github.com/ranesr/SwiftIcons/compare/1.5.1...master +[Unreleased]: https://github.com/ranesr/SwiftIcons/compare/2.0...master +[2.0]: https://github.com/ranesr/SwiftIcons/compare/1.5.1...2.0 [1.5.1]: https://github.com/ranesr/SwiftIcons/compare/1.5...1.5.1 [1.5]: https://github.com/ranesr/SwiftIcons/compare/1.4.1...1.5 [1.4.1]: https://github.com/ranesr/SwiftIcons/compare/1.4...1.4.1 diff --git a/README.md b/README.md index e12dca8..15ed223 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![SwiftIcons](https://github.com/ranesr/SwiftIcons/raw/master/resources/logo.png)]() -[![CocoaPods](https://img.shields.io/cocoapods/v/SwiftIcons.svg)](http://cocoadocs.org/docsets/SwiftIcons) [![CocoaPods](https://img.shields.io/cocoapods/dm/SwiftIcons.svg)](http://cocoapods.org/pods/SwiftIcons) [![CocoaPods](https://img.shields.io/cocoapods/dw/SwiftIcons.svg)](http://cocoapods.org/pods/SwiftIcons) [![Platform](https://img.shields.io/cocoapods/p/SwiftIcons.svg)](http://cocoadocs.org/docsets/SwiftIcons) ![Swift](https://img.shields.io/badge/%20in-swift%203.0-orange.svg) +[![CocoaPods](https://img.shields.io/cocoapods/v/SwiftIcons.svg)](http://cocoadocs.org/docsets/SwiftIcons) [![CocoaPods](https://img.shields.io/cocoapods/dm/SwiftIcons.svg)](http://cocoapods.org/pods/SwiftIcons) [![CocoaPods](https://img.shields.io/cocoapods/dw/SwiftIcons.svg)](http://cocoapods.org/pods/SwiftIcons) [![Platform](https://img.shields.io/cocoapods/p/SwiftIcons.svg)](http://cocoadocs.org/docsets/SwiftIcons) ![Swift](https://img.shields.io/badge/%20in-swift%204.0-orange.svg) [![Travis](https://img.shields.io/travis/ranesr/SwiftIcons.svg)](https://travis-ci.org/ranesr/SwiftIcons/) @@ -68,7 +68,7 @@ Add the following lines to your `Podfile`: ```ruby target 'YourProject' do use_frameworks! - pod 'SwiftIcons', '~> 1.5.1' + pod 'SwiftIcons', '~> 2.0' end ``` diff --git a/SwiftIcons.podspec b/SwiftIcons.podspec index d782740..2dc628f 100644 --- a/SwiftIcons.podspec +++ b/SwiftIcons.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'SwiftIcons' - s.version = '1.5.1' + s.version = '2.0' s.summary = 'SwiftIcons - A library for using different font icons' s.description = 'SwiftIcons library helps you use icons from any of these font icons - Dripicons, Emoji, FontAwesome, Icofont, Ionicons, Linearicons, Map-icons, Material icons, Open iconic, State face icons, Weather icons' @@ -11,7 +11,7 @@ Pod::Spec.new do |s| s.screenshots = 'https://raw.githubusercontent.com/ranesr/SwiftIcons/master/docs/images/pic01.png' s.source = { :git => 'https://github.com/ranesr/SwiftIcons.git', :tag => s.version } - s.ios.deployment_target = '8.0' + s.ios.deployment_target = '9.0' s.source_files = 'Source/SwiftIcons.swift' s.resource_bundle = { 'SwiftIcons' => 'Source/*.ttf' } diff --git a/SwiftIcons/AboutViewController.swift b/SwiftIcons/AboutViewController.swift index 922a94d..7a25815 100644 --- a/SwiftIcons/AboutViewController.swift +++ b/SwiftIcons/AboutViewController.swift @@ -44,7 +44,7 @@ class AboutViewController: UIViewController { githubBtn.setIcon(prefixText: "Learn more: ", icon: .fontAwesome(.github), iconColor: UIColor.init(hex: "3498db"), postfixText: "", forState: .normal, textSize: 16, iconSize: 30) - madeWith.setIcon(prefixText: "Made with ", icon: .fontAwesome(.heart), iconColor: UIColor.init(hex: "e74c3c"), postfixText: " in Dallas, Texas", size: 20, iconSize: 20) + madeWith.setIcon(prefixText: "Made with ", icon: .fontAwesome(.heart), iconColor: UIColor.init(hex: "e74c3c"), postfixText: " in San Francisco, California", size: 20, iconSize: 20) } override func didReceiveMemoryWarning() { diff --git a/SwiftIcons/Base.lproj/Main.storyboard b/SwiftIcons/Base.lproj/Main.storyboard index 91eb362..a5f3e27 100644 --- a/SwiftIcons/Base.lproj/Main.storyboard +++ b/SwiftIcons/Base.lproj/Main.storyboard @@ -1,13 +1,19 @@ - + - + + + + AppleSDGothicNeo-Bold + AppleSDGothicNeo-Thin + + @@ -48,7 +54,7 @@ -