Commit Graph

69 Commits

Author SHA1 Message Date
Alexsandersky df2b47507a I made customCloseButton private(set) that another developer can to set NSLayoutConstraint 2016-03-06 16:51:53 +04:00
Alexsandersky f7bafd3773 I added the setting of custonCloseButton and simple example for using this.
let browser = SKPhotoBrowser(photos: photoArray)
       browser.delegate = self
        browser.isForceStatusBarHidden = true
        browser.displayBackAndForwardButton = false
        browser.displayAction = false
        browser.displayCounterLabel = false
        browser.displayDeleteButton = true
        browser.displayToolbar = false
        //
        browser.displayCustomCloseButton = true
        browser.customCloseButtonImage = UIImage(named: "closeButton.png")
        browser.customCloseButtonShowFrame = CGRect(x: view.frame.width / 2 - 25, y: view.frame.height - 58, width: 50, height: 50)
        browser.customCloseButtonHideFrame = CGRect(x: view.frame.width / 2 - 25, y: view.frame.height - 58, width: 50, height: 50)
         presentViewController(browser, animated: true, completion: nil)
2016-03-06 15:28:16 +04:00
Alexsandersky 7ccbec4d1b I changed the setting of the done button. I rename DoneButton to CloseButton. I made separate setting of close button like for DeleteButton because if we added CloseButton on View and hided it we could not to touch on black area that when we going to zoom the image. 2016-03-06 13:56:03 +04:00
suzuki_keishi dda2477c9f [update]pod spec. 2016-03-02 16:23:10 +09:00
keishi suzuki c2416f8433 Merge pull request #35 from alexsanderskywork/master
changed zoom because there was a bug
2016-03-02 16:22:40 +09:00
Alexsandersky b007e9b5af new algorithm for maxScale in SKZoomingScrollView 2016-03-02 11:22:23 +04:00
Alexsandersky 93b90d5ebe change maxScale to 1.0 it works perfectly with little images 2016-03-02 10:23:01 +04:00
Alexsandersky 6a3f459544 change maxScale to 2.0 2016-03-01 23:12:11 +04:00
Alexsandersky 462f081fde changed zoom because there was a bug 2016-03-01 15:32:51 +04:00
suzuki_keishi 78ac6826af [update]podspec. 2016-03-01 10:49:47 +09:00
suzuki_keishi c86dce0c5a [update]readme for deletion. 2016-03-01 10:49:30 +09:00
suzuki_keishi a67842b4c4 Merge branch 'pr' 2016-03-01 10:40:39 +09:00
keishi suzuki e21623d13b Merge pull request #34 from alexsanderskywork/master
@alexsanderskywork , Looks great. I'll update readme for this.
2016-03-01 10:39:51 +09:00
suzuki_keishi ef76c8a3f7 [update]readme. 2016-03-01 10:37:59 +09:00
Alexsandersky 09d45d2d5d changed UIActionSheet to UIAlertController with ActionSheet style 2016-02-29 16:28:19 +04:00
Alexsandersky 9dd8af3399 changed UIPopoverController to UIPopoverPresentationController 2016-02-29 15:17:41 +04:00
Alexsandersky f2d11bcf2e different wrong zoom when double tap and pinch gesture. 2016-02-29 15:04:52 +04:00
Alexsandersky 9c6c154612 change delete button frame because old frame hide the status bar 2016-02-29 14:53:10 +04:00
Alexsandersky 24a81bd07e change with displayDeleteButton 2016-02-29 14:36:14 +04:00
Alexsandersky 5fa6032195 display delete button or no 2016-02-29 14:31:01 +04:00
Alexsandersky 08d9c508ac delete button via delegate 2016-02-29 14:13:35 +04:00
suzuki_keishi 4432f72c6d [update]zooming bug fixed. 2016-02-25 10:56:22 +09:00
suzuki_keishi 930471a4a5 [clean]using swiftlint. 2016-02-25 10:56:07 +09:00
suzuki_keishi db309660cc [update]pod spec. 2016-02-22 18:47:57 +09:00
suzuki_keishi e915b09ee5 [clean]some. 2016-02-22 18:47:22 +09:00
keishi suzuki 54895a1ee5 Merge pull request #29 from offbye/feature_delete
Feature delete
2016-02-22 18:41:53 +09:00
张西涛 a6f4df0613 update Readme, add delete feature guide. 2016-02-22 10:51:58 +08:00
suzuki_keishi d61c0443eb [update]UIKit import. 2016-02-22 10:32:33 +09:00
suzuki_keishi bbd09377c6 [update]UIKit import. 2016-02-22 10:32:16 +09:00
suzuki_keishi 0d6b88b568 [update]some delegate goes to optional. 2016-02-22 10:24:23 +09:00
张西涛 8db943902b add delete Alert 2016-02-19 15:59:00 +08:00
张西涛 f1bddc1bf2 temp 2016-02-19 11:00:57 +08:00
张西涛 2216250409 temp 2016-02-18 20:23:32 +08:00
张西涛 d8b33c80fc add delete feature 2016-02-18 18:18:56 +08:00
suzuki_keishi 323bc651d3 [update]delegate add for actionbutton. 2016-02-02 14:14:45 +09:00
suzuki_keishi 19a426e4c8 [update]pod spec. 2016-02-01 17:37:35 +09:00
suzuki_keishi 065202e1d1 [update]readme. 2016-02-01 17:36:40 +09:00
suzuki_keishi 028f95a366 [clean]using swiftlint. 2016-02-01 17:34:44 +09:00
suzuki_keishi dd0aa211d4 [update]#23, #21, #17, #4. 2016-02-01 17:14:57 +09:00
keishi suzuki ab2191aab8 update 2016-01-19 13:58:32 +09:00
suzuki_keishi 25328acdf6 [update]podspec. 2016-01-14 12:13:32 +09:00
keishi suzuki 9b00e8c6b3 Merge pull request #16 from MarvinNazari/master
Added extra caption for ActionSheet
2016-01-14 12:12:21 +09:00
Marvin Nazari 0234dd4146 Added extra caption for ActionSheet 2016-01-13 19:09:36 +01:00
keishi suzuki f8d9c05aa1 Merge pull request #15 from suzuki-0000/bugfix/mailcrash
Bugfix/mailcrash #14
2016-01-13 13:57:37 +09:00
suzuki_keishi a48e643e4f [update]cocoapods. 2016-01-13 13:56:51 +09:00
suzuki_keishi 5ea0635207 [bug fix]mail crash. 2016-01-13 13:56:01 +09:00
keishi suzuki 0e636f4bd3 update 2016-01-08 17:22:07 +09:00
keishi suzuki f355b138f5 update 2016-01-08 17:21:19 +09:00
keishi suzuki fd69c5163b update for action 2016-01-08 17:20:32 +09:00
suzuki_keishi 9813e3bcf9 [update]pod spec. 2016-01-08 16:47:51 +09:00