update for #133.
This commit is contained in:
parent
2dce338349
commit
95755537c3
|
|
@ -1,5 +1,14 @@
|
|||
# Change Log
|
||||
|
||||
## 3.0.2
|
||||
|
||||
Released on 9-2016
|
||||
|
||||
#### Fixed
|
||||
- Issue with multiple actionButtonTitles #137
|
||||
- Impossible to zoom when resolution is 1024x768 #134
|
||||
- unexpectedly found nil while unwrapping an Optional value #133
|
||||
|
||||
## 3.0.1
|
||||
|
||||
Released on 9-2016
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ public class SKPhotoBrowser: UIViewController {
|
|||
|
||||
// tool for controls
|
||||
private var applicationWindow: UIWindow!
|
||||
private var pagingScrollView: SKPagingScrollView!
|
||||
private lazy var pagingScrollView: SKPagingScrollView = SKPagingScrollView(frame: self.view.frame, browser: self)
|
||||
var backgroundView: UIView!
|
||||
|
||||
var initialPageIndex: Int = 0
|
||||
|
|
@ -85,7 +85,6 @@ public class SKPhotoBrowser: UIViewController {
|
|||
}
|
||||
|
||||
deinit {
|
||||
pagingScrollView = nil
|
||||
NSNotificationCenter.defaultCenter().removeObserver(self)
|
||||
}
|
||||
|
||||
|
|
@ -531,7 +530,6 @@ private extension SKPhotoBrowser {
|
|||
backgroundView.alpha = 0.0
|
||||
applicationWindow.addSubview(backgroundView)
|
||||
|
||||
pagingScrollView = SKPagingScrollView(frame: view.frame, browser: self)
|
||||
pagingScrollView.delegate = self
|
||||
view.addSubview(pagingScrollView)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue