Skip to content

Initially tried working with the MessageKit framework but I couldn't …#2

Open
tcote19 wants to merge 1 commit into
masterfrom
thomas-chat-work1
Open

Initially tried working with the MessageKit framework but I couldn't …#2
tcote19 wants to merge 1 commit into
masterfrom
thomas-chat-work1

Conversation

@tcote19

@tcote19 tcote19 commented Apr 12, 2021

Copy link
Copy Markdown
Collaborator

Initially tried working with the MessageKit framework but I couldn't quite understand it. Borrowed some code from Kavsoft for adding a dynamically resizing message view.

…quite understand it. Borrowed some code from Kavsoft for adding a dynamically resizing message view.
@tcote19 tcote19 requested a review from jeksys April 12, 2021 22:26

@jeksys jeksys left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think it makes sense to finish chat view and link it a data source before merging to master?

UIResponder.keyboardDidShowNotification, object: nil, queue: .main) {
(data) in

let height1 = data.userInfo![UIResponder.keyboardFrameEndUserInfoKey]

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[critical] forced unwrapping is not good, can cause a crash

}


struct chatInstance : View {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] let's follow Swift standards and name structs with the capital letter

package = 0DEE520725D0BA71003C6EB7 /* XCRemoteSwiftPackageReference "swift-protobuf" */;
productName = SwiftProtobuf;
};
8A713CCF2623EAD300F6D4BB /* MessageKit */ = {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If MessageKit is not used can you please remove it

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the proper way to do this?

@tcote19

tcote19 commented Apr 13, 2021

Copy link
Copy Markdown
Collaborator Author

Yeah, can do. I definitely need to get a better understanding on how the messages interface with the devices.

zls1988 pushed a commit to zls1988/Meshtastic-iOS that referenced this pull request Aug 1, 2021
zls1988 pushed a commit to zls1988/Meshtastic-iOS that referenced this pull request Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants