-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Adjust library to allow for the use of custom views built in interface builder #39
Conversation
Awesome! I will pull this down and test it out tomorrow. Thanks a bunch, Matt. |
…estureRecognizer: for if the tableView's scroller is scrolling up or down. This became a real problem with a long list of cells, because the sliding would get tripped while trying to scroll the cell. This way, the intent of the user is more accurately represented.
…instead of iterating through superviews, just pick the view attached to the gestureRecognizer.)
@CEWendel - Thank you for all your work leading up to this! 👍 |
Great work Matt! |
👍 |
👍 |
Yea an example would be great, I can't seem to figure out how to get custom views working with interface builder with these changes. |
Hey @CEWendel - I'll put together some how-to docs tonight |
hide the swipe menu when all the elements have a clear background
Hey @CEWendel - I've updated the sample project to include code to render custom cells, and I have updated the readme.md to include an example on how to use it with custom cells. |
Conflicts: SWTableViewCell/PodFiles/SWTableViewCell.h SWTableViewCell/SWTableViewCell.m SWTableViewCell/ViewController.m
@CEWendel - In case you were concerned about losing the most recent changes made to the repo, I've just updated my PR to include them. |
Ok cool thanks Matt gonna check this out today. Sorry it's been a busy week (last week of classes). |
Cool so everything looks good except one thing, which I am working on fixing now. Once those are fixed we can merge this in, it's looking great. Thanks again. |
Hey @CEWendel - Was the bounce something you added? I looked through the code and couldn't find anything that would explicitly add springiness to the TableViewCell. If you did add that behavior, and could point me in the right direction, I'll take care of fixing it. Thanks! |
Cool. This is all merged in now after just tweaking a couple things, I added back in the gesture recognizer check to see if the containing scroll view is currently being scrolled and took out an unneeded setContentOffset call that was getting rid of the bounce effect. Thanks Matt! Gonna give you a shout out on the README right now. |
Thanks, @CEWendel! We just located the problem that you mentioned in your comment. We were minutes away from updating the PR 😄 |
This change does a few things: