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

Rename KeyboardObserver private funcs #226

Merged
merged 2 commits into from
Dec 4, 2020

Conversation

diogoeiras
Copy link
Contributor

Checklist

Motivation and Context

According to a message received from App Store Connect, keyboardDidHide and keyboardDidShow are methods that match the private Apple APIs. The solution should pass by renaming said methods.

Description

  • Rename keyboardDidHide and keyboardDidShow to keyboardBecameVisible and keyboardBecameInvisible respectively

Observation: we could opt for other names like onKeyboardDidHide or receivedKeyboardDidHideNotification

According to a message received from App Store Connect,
`keyboardDidHide` and `keyboardDidShow` are methods that match the
private Apple APIs. The solution should pass by renaming said methods.

- Rename `keyboardDidHide` and `keyboardDidShow` to
`keyboardBecameVisible` and `keyboardBecameInvisible` respectively
@diogoeiras diogoeiras requested a review from a team December 4, 2020 10:44
@codecov
Copy link

codecov bot commented Dec 4, 2020

Codecov Report

Merging #226 (59ae77f) into master (a91b127) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #226   +/-   ##
=======================================
  Coverage   94.98%   94.98%           
=======================================
  Files          97       97           
  Lines        3267     3267           
=======================================
  Hits         3103     3103           
  Misses        164      164           
Impacted Files Coverage Δ
Sources/Observers/KeyboardObserver.swift 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a91b127...59ae77f. Read the comment docs.

Copy link
Member

@p4checo p4checo left a comment

Choose a reason for hiding this comment

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

Thanks for your service! 🙇

Just some minor suggestions 💅

Sources/Observers/KeyboardObserver.swift Outdated Show resolved Hide resolved
@diogoeiras diogoeiras merged commit 945dfc8 into Mindera:master Dec 4, 2020
@diogoeiras diogoeiras deleted the bugfix/non-public-api branch December 4, 2020 15:34
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.

7 participants