Skip to content
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

[MOB-6612] Align method, class, protocol names with android #663

Merged

Conversation

anlinguist
Copy link
Collaborator

@anlinguist anlinguist commented Jul 27, 2023

🔹 Jira Ticket(s)

✏️ Description

This PR updates the SDK to align names with android.

@anlinguist anlinguist changed the title [MOB-6612] Align methodclass, protocol names with android [MOB-6612] Align method, class, protocol names with android Jul 27, 2023
Copy link
Member

@Ayyanchira Ayyanchira left a comment

Choose a reason for hiding this comment

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

LGTM. Left some nit pick comments for later discussions


import Foundation

@objc public protocol IterableEmbeddedManagerProtocol {
Copy link
Member

Choose a reason for hiding this comment

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

Here the class protocol's name ends with Protocol. but in IterableEmbeddedMessagingUpdateDelegate, it ends withDelegate. I think (have to revisit the codebase to see whats been followed) Protocol objects can be called Delegates but the class itself can remain as Protocol. Will have to reconsider renaming this for consistency.

@@ -4,7 +4,7 @@

import Foundation

@objc public protocol IterableEmbeddedMessagingUpdateDelegate {
@objc public protocol IterableEmbeddedUpdateDelegate {
Copy link
Member

Choose a reason for hiding this comment

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

Not for this PR but - Will making this protocol method or both methods a part of IterableEmbeddedManagerProtocol be useful?? What do you think?

@anlinguist anlinguist merged commit 01e2392 into embedded-messaging Jul 27, 2023
1 of 2 checks passed
@anlinguist anlinguist deleted the anelson/MOB-6612-align-naming-with-android branch July 27, 2023 21:20
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