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

Feature share table view controller #30

Merged
merged 40 commits into from
Apr 2, 2019

Conversation

onevcat
Copy link
Member

@onevcat onevcat commented Mar 26, 2019

No description provided.

@codecov-io
Copy link

codecov-io commented Mar 27, 2019

Codecov Report

Merging #30 into v5.2 will decrease coverage by 7.72%.
The diff coverage is 0.78%.

Impacted file tree graph

@@            Coverage Diff             @@
##             v5.2      #30      +/-   ##
==========================================
- Coverage   79.45%   71.73%   -7.73%     
==========================================
  Files         164      174      +10     
  Lines        6475     7542    +1067     
==========================================
+ Hits         5145     5410     +265     
- Misses       1330     2132     +802
Impacted Files Coverage Δ
...eSDK/LineSDK/Graph/Request/GetFriendsRequest.swift 66.66% <ø> (ø) ⬆️
LineSDK/LineSDK/SharingUI/PageViewController.swift 0% <ø> (ø) ⬆️
...neSDK/LineSDK/Networking/Images/ImageManager.swift 0% <0%> (ø) ⬆️
...ineSDK/SharingUI/ShareTargetTableViewStyling.swift 0% <0%> (ø)
...SharingUI/ShareTargetSelectingViewController.swift 0% <0%> (ø)
LineSDK/LineSDK/SharingUI/ShareTarget.swift 0% <0%> (ø)
LineSDK/LineSDK/Utils/Helpers.swift 12.5% <0%> (-6.42%) ⬇️
...ineSDK/LineSDK/SharingUI/ShareViewController.swift 0% <0%> (ø) ⬆️
LineSDK/LineSDK/General/LineSDKError.swift 40.78% <0%> (-40.3%) ⬇️
LineSDK/LineSDK/Graph/Model/User.swift 0% <0%> (ø)
... and 39 more

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 81fa5d4...0030f3d. Read the comment docs.

@onevcat onevcat changed the title [WIP] Feature share table view controller Feature share table view controller Mar 29, 2019
}

deinit {
print("Deinit: \(self)")
Copy link
Contributor

Choose a reason for hiding this comment

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

we might need to use Log.print() to identify it is print by SDK?

Copy link
Member Author

Choose a reason for hiding this comment

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

It is only in development and we need to remove these kind of things later when we done.

if UIApplication.shared.keyWindow?.safeAreaInsets.top == 20 {
return 44
} else {
return 54
Copy link
Contributor

@eJamesLin eJamesLin Apr 1, 2019

Choose a reason for hiding this comment

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

we might could remove the magic numbers by using edgesForExtendedLayout = []

Copy link
Member Author

Choose a reason for hiding this comment

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

It seems that the embedded table view in the view controller fails to get the correct search bar height value. That is the reason why I hard coded them here. But we may try again to see whether edgesForExtendedLayout can work or not.

Copy link
Contributor

@eJamesLin eJamesLin left a comment

Choose a reason for hiding this comment

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

LGTM

@onevcat onevcat merged commit 453da50 into v5.2 Apr 2, 2019
@onevcat onevcat deleted the feature/share-table-view-controller branch April 2, 2019 03:03
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.

3 participants