Skip to content

Commit

Permalink
Bump up version to 0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
PhamBaTho committed Nov 16, 2020
1 parent dbf4d38 commit fcc93c8
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 16 deletions.
11 changes: 4 additions & 7 deletions BTNavigationDropdownMenu.podspec
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
Pod::Spec.new do |s|
s.name = "BTNavigationDropdownMenu"
s.version = "0.5"
s.version = "0.7"
s.summary = "The elegent navigation dropdown menu"
s.description = <<-DESC
The elegant **dropdown menu**, written in **Swift**, appears underneath **navigation bar** to display a list of related items when a user click on the navigation title.
DESC
s.description = "The elegant yet functional dropdown menu, written in Swift, appears underneath the navigation bar to display a list of defined items when a user clicks on the navigation title."
s.homepage = "https://github.com/PhamBaTho/BTNavigationDropdownMenu"
s.screenshots = "https://raw.githubusercontent.com/PhamBaTho/BTNavigationDropdownMenu/master/Assets/Demo.png"
s.license = "MIT"
s.author = { "Pham Ba Tho" => "[email protected]" }
s.social_media_url = "https://www.facebook.com/phambatho"
s.platform = :ios, '8.0'
s.author = { "Tho Pham" => "[email protected]" }
s.platform = :ios, '9.0'
s.source = { :git => "https://github.com/PhamBaTho/BTNavigationDropdownMenu.git", :tag => s.version.to_s }
s.source_files = "Source/**/*.swift"
s.resources = "Source/*.bundle"
Expand Down
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
## [0.7](https://github.com/PhamBaTho/BTNavigationDropdownMenu/releases/tag/0.7) (16-11-2020)
### Fixed
- Update deprecated index(of:) to firstIndex(of:) [(#156)](https://github.com/PhamBaTho/BTNavigationDropdownMenu/pull/156)
- Remove ImplicitlyUnwrappedOptional to be compatible with Swift 5.

### Improved
- Update project configuration to be compatible with Swift 5 and Xcode 10.2+
- Use system font as default value of `navigationBarTitleFont`.

## [0.6](https://github.com/PhamBaTho/BTNavigationDropdownMenu/releases/tag/0.6) (19-02-2019)
- Merged PR [#145](https://github.com/PhamBaTho/BTNavigationDropdownMenu/pull/145): Carthage support.

## [0.5](https://github.com/PhamBaTho/BTNavigationDropdownMenu/releases/tag/0.5) (19-08-2018)
- Support Xcode 10 and Swift 4.2

## [0.4.1](https://github.com/PhamBaTho/BTNavigationDropdownMenu/releases/tag/0.4.1) (01-08-2016)
- Merge PR [#71](https://github.com/PhamBaTho/BTNavigationDropdownMenu/pull/71): Now you can configure selectedCellTextLabelColor. arrowTintColor, navigationBarTitleFont
- Merge PR [#75](https://github.com/PhamBaTho/BTNavigationDropdownMenu/pull/75): Now you can keep navigation title static when selecting items in dropdown menu
- Change keepSelectedCellColor to shouldKeepSelectedCellColor
- Fix a bug in updateItems() when updating menu view after HTTP request.

## [0.4](https://github.com/PhamBaTho/BTNavigationDropdownMenu/releases/tag/0.4) (23-06-2016)
- Resolve issue [#57](https://github.com/PhamBaTho/BTNavigationDropdownMenu/issues/57) and [#63](https://github.com/PhamBaTho/BTNavigationDropdownMenu/issues/63). Now you can scroll to the last one when the list is longer than screen's height.
- Resolve issue [#62](https://github.com/PhamBaTho/BTNavigationDropdownMenu/issues/62) (Alternate scope initialization). Now you can initialize menuView where `title` parameter doesn't need to be one of the items array.
- Resolve issue [#68](https://github.com/PhamBaTho/BTNavigationDropdownMenu/issues/68). Now, you can use `updateItems(items: [AnyObject])` to update items for the dropdown menu after it has been initialized.
- Add containView as parameter when initializing menuView.

## [0.3](https://github.com/PhamBaTho/BTNavigationDropdownMenu/releases/tag/0.3) (17-04-2016)
- Add toggle() functions
- Add keepSelectedCellColor property
Expand Down
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
### Swift 5 is coming soon.

---

![alt tag](https://github.com/PhamBaTho/BTNavigationDropdownMenu/blob/master/Assets/BTNavigationDropdownLogo.png)

[![Pod Version](https://img.shields.io/cocoapods/v/BTNavigationDropdownMenu.svg?style=flat)](http://cocoadocs.org/docsets/BTNavigationDropdownMenu/)
Expand Down Expand Up @@ -40,7 +36,7 @@ $ brew install carthage
To integrate BTNavigationDropdownMenu into your Xcode project using Carthage, specify it in your `Cartfile`:

```ogdl
github "PhamBaTho/BTNavigationDropdownMenu" ~> 0.5
github "PhamBaTho/BTNavigationDropdownMenu" ~> 0.7
```

Run `carthage update` to build the framework and drag the built `BTNavigationDropdownMenu.framework` into your Xcode project.
Expand Down Expand Up @@ -96,9 +92,9 @@ First, assign the items and frame for the dropdown menu. Then, customize the loo

`cellTextLabelColor` **- Text color inside of the cell** *Default is darkGrayColor()*

`cellTextLabelFont` **- Font inside the cell** *Default is HelveticaNeue-Bold, size 17*
`cellTextLabelFont` **- Font inside the cell** *Default is bold system font, size 17*

`navigationBarTitleFont` **- Navigation bar title font** *Default is HelveticaNeue-Bold, size 17*
`navigationBarTitleFont` **- Navigation bar title font** *Default is vold system font, size 17*

`cellTextLabelAlignment` **- Text alignment inside of the cell** *Default is .Left*

Expand Down Expand Up @@ -127,8 +123,7 @@ First, assign the items and frame for the dropdown menu. Then, customize the loo
`arrowTintColor` **- Tint color of the arrow.** *Default is whiteColor()*

## Requirement
- iOS 8.0+ (CocoaPods with Swift support will only work on iOS 8.0+. Alternatively, you will have to import library manually to your project)
- Xcode 8.0+, Swift 3.0+
- iOS 9.0+

## Changelog
See the [CHANGELOG](https://github.com/PhamBaTho/BTNavigationDropdownMenu/blob/master/CHANGELOG.md) for details
Expand Down

0 comments on commit fcc93c8

Please sign in to comment.