jody-bailey / EagleSocial

2 stars 3 forks source link

3/27/2018 #56

Closed jaspearson closed 6 years ago

jaspearson commented 6 years ago

Fixed an issue with the tapGesterRecognizer so the function to dismiss the keyboard would work. Rounded the corners on the message bubbles so the message list looks more like a messaging screen. Added a generic profile image to each message retrieved at least until the profiles are built out complete with profile picture that I can pull from. Removed the separator so there will be no lines in between the messages. Migrated and refactored some of the firebase code for sending new messages away from the view controller and put it in the model. Added more comments and spacing for improved code readability.

Class Message Made all the attributes private Added 3 new attributes: conversationID, messageDictionary, and members Added initializer function and overloaded initializer function. Added sendMethod method. Added getters for SenderId, messageBody, conversationID, messageDictionary, and members. Added setters for SenderId, messageBody, and messageDictionary.