-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow control on actions container view please #11
Comments
I think I'll need to tinker with |
Hello, SwipeActionsView.swift file implement like below lines... func addButtons(for actions: [SwipeAction], withMaximum size: CGSize) {
|
Well I wanted a clean way of accessing the view from my controller, not to tinker with SwipeCellKit code. |
Hey @alexbuga - Good to hear you managed to get it working. Any chance you can share a sample project? I've haven't had a chance think about the best way of accommodating this... maybe it's as simple as exposing the |
I got the round corners by clipping the view and setting the corner radius
on the layer.
I can't get the height to shrink though. I will try at home.
…On Mon, 27 Feb 2017 at 18:58, Jer K. ***@***.***> wrote:
Hey @alexbuga <https://github.com/alexbuga> - Good to hear you managed to
get it working. Any chance you can share a sample project?
I've haven't had a chance think about the best way of accommodating
this... maybe it's as simple as exposing the SwipeActionsView. Since the
actionView extends outside of the cell bounds, I'm not clear how you got
the rounded corners all around.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACs9jdUidX26TjiwHzVMhyD3u7aaQIGMks5rgwCqgaJpZM4MM3Nc>
.
|
This work is not in scope for now but I will welcome pull requests to support something like this. |
@alexbuga |
My row view has a bottom margin and there's a discrepancy between the actions and the row.
I'll attach 2 screenshots: my custom implementation with a scrollview inside the row, and how it looks with SwipeCellKit.
The text was updated successfully, but these errors were encountered: