-
Notifications
You must be signed in to change notification settings - Fork 19
Cleaned up variable name and comments #8
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
base: main
Are you sure you want to change the base?
Conversation
| private(set) var observableConversation: ObservableFetchRequestResult<PersistentConversationDataItem>? | ||
| lazy private(set) var observableMessageList = conversationsRepository.getObservableMessages(for: conversationSid) | ||
| private(set) var observervableTypingMemeberList: ObservableFetchRequestResult<PersistentParticipantDataItem>? | ||
| private(set) var observervableTypingMemberList: ObservableFetchRequestResult<PersistentParticipantDataItem>? |
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.
observableTypingParticipantList sounds more clear
| weak var delegate: ConversationViewModelDelegate? | ||
|
|
||
| // MARK: Init | ||
| // Initialize the Conversation |
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.
Keep the "MARK:" prefix - it shows up in Xcode code minimap.
| messagesManager.reactToMessage(withSid: sid, withReaction: reaction) | ||
| } | ||
|
|
||
| // MARK: Deintialization |
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.
Same for these.
|
@segheysens hi, could you please address the review comments? |
|
@berkus made these updates! |
| } | ||
|
|
||
| // MARK: Deintialization | ||
| // Deinitialization |
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.
Return MARK here please.
| } | ||
|
|
||
| // MARK: Methods | ||
| // Methods |
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.
And here please, too.
| observableConversation?.removeObserver(self) | ||
| observableMessageList.removeObserver(self) | ||
| observervableTypingMemeberList?.removeObserver(self) | ||
| observervableTypingMemberList?.removeObserver(self) |
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.
Shouldn't it be observableTypingParticipantList?
|
@segheysens hi! Please address the remaining notes and I believe the |
|
@segheysens hi, do you plan to finish up this PR? |
|
@segheysens gentle poke! |
Contributing to Twilio