Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
Merge branch 'release/v1.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
hsoi committed Mar 26, 2016
2 parents c1f5164 + b2e36b8 commit 94c2570
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# HELargeCenterTabBarController CHANGELOG

## v1.0.1 - 2016-03-26

* Update for Xcode 7.3 and Swift 2.2


## v1.0 - 2015-09-20

Initial release.
Expand Down
2 changes: 1 addition & 1 deletion HELargeCenterTabBarController.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'HELargeCenterTabBarController'
spec.version = '1.0.0'
spec.version = '1.0.1'
spec.homepage = 'https://github.com/HsoiEnterprises/HELargeCenterTabBarController'
spec.source = { :git => 'https://github.com/HsoiEnterprises/HELargeCenterTabBarController.git', :tag => "v#{spec.version}" }
spec.summary = 'A Swift UITabBarController with a larger center tab.'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class HELargeCenterTabBarController: UITabBarController {
view.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat("H:[button(==\(unselectedImage.size.width))]", options: NSLayoutFormatOptions(rawValue: 0), metrics: nil, views: ["button": button]));
view.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat("V:[button(==\(unselectedImage.size.height))]", options: NSLayoutFormatOptions(rawValue: 0), metrics: nil, views: ["button": button]));

button.addTarget(self, action: "centerButtonAction:", forControlEvents: .TouchUpInside)
button.addTarget(self, action: #selector(centerButtonAction(_:)), forControlEvents: .TouchUpInside)
centerButton = button
updateCenterButton()
}
Expand All @@ -161,7 +161,7 @@ class HELargeCenterTabBarController: UITabBarController {

- parameter sender: The sender of the action.
*/
@IBAction private func centerButtonAction(sender: AnyObject) {
@IBAction dynamic private func centerButtonAction(sender: AnyObject) {
if allowSwitch {
selectedViewController = centerViewController
}
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Build Status](https://travis-ci.org/HsoiEnterprises/HELargeCenterTabBarController.svg)
[![Build Status](https://travis-ci.org/HsoiEnterprises/HELargeCenterTabBarController.svg)](https://travis-ci.org/HsoiEnterprises/HELargeCenterTabBarController)
![CocoaPods Compatible](https://img.shields.io/cocoapods/v/HELargeCenterTabBarController.svg)
![License](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg)
![Platform](https://img.shields.io/badge/platform-iOS-lightgrey.svg)
Expand All @@ -24,8 +24,8 @@ Simple. Lightweight. To-the-point.

# Supported OS and SDK

- Xcode 7
- Swift 2.0
- Xcode 7.3
- Swift 2.2
- iOS 8 (minimum, required)


Expand Down

0 comments on commit 94c2570

Please sign in to comment.