Skip to content

feat: enable swipe to delete in UITableView#262

Closed
boxizen wants to merge 10 commits intoTencent:masterfrom
boxizen:feat/iosSwipeDel
Closed

feat: enable swipe to delete in UITableView#262
boxizen wants to merge 10 commits intoTencent:masterfrom
boxizen:feat/iosSwipeDel

Conversation

@boxizen
Copy link
Copy Markdown
Contributor

@boxizen boxizen commented May 21, 2020

Before submitting a new pull request, please make sure:

  • Test cases have been added/updated for the code you will submit.
  • Documentation has added or updated.
  • Commit message is following the Convention Commit guideline.
  • Squash the repeat code commits, short patches are welcome.

After enableswipe to delete in iOS:

swipe_delete

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 21, 2020

Codecov Report

Merging #262 (156e58e) into master (d4a3960) will increase coverage by 8.99%.
The diff coverage is n/a.

❄1�7 Current head 156e58e differs from pull request most recent head 633d562. Consider uploading reports for the commit 633d562 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master     #262      +/-   ##
==========================================
+ Coverage   61.30%   70.30%   +8.99%     
==========================================
  Files          28       24       -4     
  Lines        1866     1357     -509     
==========================================
- Hits         1144      954     -190     
+ Misses        722      403     -319     
Impacted Files Coverage Δ
packages/hippy-vue/src/renderer/list-node.js 0.00% <0.00%> (-53.85%) ⬇️
packages/hippy-vue/src/runtime/native.js 3.12% <0.00%> (-32.99%) ⬇️
...ages/hippy-vue/src/renderer/native/style/parser.js 67.24% <0.00%> (-17.87%) ⬇️
packages/hippy-vue/src/util/index.js 60.78% <0.00%> (-7.64%) ⬇️
packages/hippy-vue/src/renderer/element-node.js 77.41% <0.00%> (-5.62%) ⬇️
packages/hippy-vue/src/renderer/native/index.js 83.67% <0.00%> (-3.66%) ⬇️
packages/hippy-vue/src/renderer/view-node.js 73.50% <0.00%> (ø)
packages/hippy-vue/src/renderer/input-node.js 0.00% <0.00%> (ø)
packages/hippy-vue/src/renderer/document-node.js 100.00% <0.00%> (ø)
...ppy-vue/src/renderer/native/style/css-selectors.js 36.66% <0.00%> (ø)
... and 8 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 d4a3960...633d562. Read the comment docs.


- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath {
if (self.node.props[@"editable"]) {
return self.node.props[@"editable"];
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

needs BOOL type, not objective-c type object

@boxizen boxizen closed this Aug 16, 2021
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.

4 participants