-
Notifications
You must be signed in to change notification settings - Fork 2
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
Added new settings with functionality #8
Conversation
…dded setting for auto-adjusting input toolbar to keyboard
Demo/ViewController.swift
Outdated
@@ -72,7 +72,7 @@ extension ViewController: MessagesViewDelegate { | |||
func didTapRightButton() { | |||
let text = messagesView.inputText | |||
TestData.exampleMessageText.append(text) | |||
messagesView.refresh() | |||
messagesView.refresh(scrollDown: true) |
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 is a setting for this feature: MessagesViewSettings::textInputScrollsToRecentMessage, and this one should be used and/or renamed if needed. My proposal is: scrollsToLastMessage
.
…fixed keyboard vertical adjustment, fixed collectionView bottom scroll indicator inset, lower Deployment Target to enable iPhone 4s, added public scrollToLastMessage function
…or their disabled state
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.
MessagesView/MessagesView.swift
Outdated
public var delegate : MessagesViewDelegate? | ||
public var dataSource: MessagesViewDataSource? | ||
|
||
//NARK:- |
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.
A bit of typo
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.
Typo correction
Added setting for auto-scrolling down when refreshing message view, a…dded setting for auto-adjusting input toolbar to keyboard