-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Added method to scroll to a specific row, optionally animated. #1195
Conversation
dunno what Travis is complaining about. Looks badly broken. All 63 unit test run fine locally oO |
* @param row The index of the row that will be visible | ||
* @param animated Pass `YES` if you want to animate scrolling, `NO` if it should be immediate. | ||
*/ | ||
- (void)scrollToRow:(NSInteger)row animated:(BOOL)animated; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's use indexPath, more idiomatic. scrollToIndexPath:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed it. However I'm not sure if an indexPath is the right fit here. It might be more idiomatic and in line with collection views and table views, but JSQMVC
always contains only one section, doesn't it?
Thanks @sebastianludwig ! A few comments. |
That would be very nice option! |
I was looking for this too! |
Hey @sebastianludwig ! 😄 Sorry for taking so long here. Are you still interested in supporting this PR? Looks like some merge conflicts need to be resolved 😁 |
I'm trying to get |
Sure! Gimme a few days. |
3f7d9f7
to
baa33d2
Compare
@sebastianludwig - more conflicts. I think you're conflicting with yourself from #1203 😆 |
baa33d2
to
179e9eb
Compare
@sebastianludwig ping 😄 |
^^ Will to to look into it tonight |
Thanks @sebastianludwig ! 😄 🎉 Really appreciate it! Also -- are you interested in becoming a core contributor? |
179e9eb
to
b83ad8b
Compare
Current coverage is
|
Sorry, totally forgot about this one. Core contributor? What would that mean? |
@sebastianludwig send me an email 😄 |
This is useful if you want to scroll down to the first unread message for example.