suzuki_keishi
|
840f26216a
|
[update]readme, pod ver.
|
2016-03-07 13:35:27 +09:00 |
keishi suzuki
|
ba3bfa7309
|
Merge pull request #36 from alexsanderskywork/master
CustomCloseButton (customDoneButton)
|
2016-03-07 13:30:45 +09:00 |
Alexsandersky
|
37a14f4807
|
changed imageEdgeInsets for closeButton and deleteButton. I made two categories of imageEdgeInsets for iPhone and for iPad because the icons were very small on iPad
|
2016-03-07 02:12:50 +04:00 |
Alexsandersky
|
02409ae398
|
added autoresize to closeButton and marked where we should to fix
|
2016-03-07 01:25:30 +04:00 |
Alexsandersky
|
bc2fc4f3b4
|
added autoresize to deleteButton
|
2016-03-07 01:09:32 +04:00 |
Alexsandersky
|
85a2343b3e
|
several changes. I added autoresizing mask to customCloseButton. But the effect is the same as from my functions. only iPads better
|
2016-03-07 00:51:05 +04:00 |
Alexsandersky
|
91b9e31fa2
|
changed delete button width
|
2016-03-06 22:11:15 +04:00 |
Alexsandersky
|
4919335451
|
change rotation functions
|
2016-03-06 21:48:14 +04:00 |
Alexsandersky
|
baa2a844f3
|
I added change frame while device change orientation only if the custom close button constraints are nil
|
2016-03-06 21:39:31 +04:00 |
Alexsandersky
|
045f38e18e
|
I added functions which are changing frames of custom close button while device orientation is changing
|
2016-03-06 20:36:24 +04:00 |
Alexsandersky
|
6e14d7d2d5
|
delete local bundle
|
2016-03-06 19:47:52 +04:00 |
Alexsandersky
|
205f4fedf5
|
moved NSNotificationCenter to setup function
|
2016-03-06 19:32:41 +04:00 |
Alexsandersky
|
1b39bae749
|
it change delete button frame while rotation of device
|
2016-03-06 17:11:13 +04:00 |
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 |