PhamBaTho / BTNavigationDropdownMenu

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.
MIT License
2.69k stars 411 forks source link

Small fix for Swift2.3 (1) #85

Closed glancashire closed 8 years ago

glancashire commented 8 years ago

First thanks for your work!

To allow for compilation in Swift 2.3. Please wrap the context into a if let

... override func drawRect(rect: CGRect) { super.drawRect(rect) if let context = UIGraphicsGetCurrentContext() { ...

PhamBaTho commented 8 years ago

@glancashire: I created a new branch that supporting Swift 2.3. From now, you can use:

pod 'BTNavigationDropdownMenu', :git => 'https://github.com/PhamBaTho/BTNavigationDropdownMenu.git', :branch => 'swift-2.3'

Thanks so much for your both issues #85 #86

glancashire commented 8 years ago

many thanks

Graham Lancashire

On 14.09.2016, at 11:21, Pham Ba Tho notifications@github.com wrote:

@glancashire: I created a new branch that supporting Swift 2.3. From now, you can use:



Thanks so much for your both issues #85 #86

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.