Skip to content

Commit

Permalink
iOS9/ Swift2 compatibility update
Browse files Browse the repository at this point in the history
  • Loading branch information
jkates1 committed Sep 26, 2015
1 parent 1bde793 commit 07a5a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ActionButtonItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public class ActionButtonItem: NSObject {
self.view.userInteractionEnabled = true
self.view.backgroundColor = UIColor.clearColor()

self.button = UIButton.buttonWithType(.Custom) as! UIButton
self.button = UIButton(type: .Custom)
self.button.frame = CGRect(origin: CGPoint(x: self.viewSize.width - self.buttonSize.width, y: 0), size: buttonSize)
self.button.layer.shadowOpacity = 1
self.button.layer.shadowRadius = 2
Expand Down

0 comments on commit 07a5a35

Please sign in to comment.