-
Notifications
You must be signed in to change notification settings - Fork 919
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
Add "atPosition:" variations to UICollectionView waitForCellAtIndexPath methods #1061
Add "atPosition:" variations to UICollectionView waitForCellAtIndexPath methods #1061
Conversation
Thanks for the contribution! Please add a test to the test suite to ensure that it is behaving as expected and I'll happily merge this change. You could maybe check the returned cell's frame relative to the window? This will help to ensure that we don't regress the behavior and Apple doesn't change it behind the scenes. |
@gaperlinski - Any chance that you'd have time to add a test showing that this works and ensuring that we (or Apple) don't break the functionality in the future? Sad to see this go to waste. Thanks! |
@justinseanmartin I'm back from the dead. Sorry! Will try to cook something up over the weekend. |
If you need any assistance, please let me know. This will help me out with a bug I'm facing. I'll be around to assist through next Wednesday if need be. |
Would something like this do the trick?
|
@gaperlinski I can't really make any changes so I opened up #1109 |
@harleyjcooper, sorry for leaving you hanging. For some reason, I didn't get any notifications about these messages. It LGMT but it looks like Travis CI is not loving the iPad Pro simulator... |
Going to close this in favor of #1109. Feel free to reopen if you take this back over from @harleyjcooper . |
Allows the consumers to specify custom
UICollectionViewScrollPosition
of the cell they want to scroll to.UICollectionViewScrollPositionCenteredHorizontally | UICollectionViewScrollPositionCenteredVertically
remains to the default value.