-
Notifications
You must be signed in to change notification settings - Fork 108
Fixing multi-drag so you can drag the children of currently dragging … #153
Conversation
+@RoboErikG +@vicng (Also, can we talk to Apple about how many characters are in "shouldRecognizeSimultaneouslyWithGestureRecognizer otherGestureRecognizer: UIGestureRecognizer"? That's an absurd number of characters for one parameter.) Review status: 0 of 1 files reviewed at latest revision, all discussions resolved. Comments from Reviewable |
Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion. Blockly/Code/UI/View Controllers/WorkbenchViewController.swift, line 827 [r1] ([raw file](https://github.com/google/blockly-ios/blob/a9249d431510afb41f9a46af53b757a03958305e/Blockly/Code/UI/View Controllers/WorkbenchViewController.swift#L827)):
Are these overrides? If not where are they being used? Also, public above private methods. Comments from Reviewable |
Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion. Blockly/Code/UI/View Controllers/WorkbenchViewController.swift, line 827 [r1] ([raw file](https://github.com/google/blockly-ios/blob/a9249d431510afb41f9a46af53b757a03958305e/Blockly/Code/UI/View Controllers/WorkbenchViewController.swift#L827)):
|
Brevity is the soul of wit. Review status: 0 of 1 files reviewed at latest revision, 2 unresolved discussions. Blockly/Code/UI/View Controllers/WorkbenchViewController.swift, line 1047 [r2] ([raw file](https://github.com/google/blockly-ios/blob/25a0227352208abd6478a79c0860cbae81d40398/Blockly/Code/UI/View Controllers/WorkbenchViewController.swift#L1047)):
nit ws Comments from Reviewable |
Tested this on a device and dragging blocks is much laggier than before. It looks like the culprit is the shouldRequireFailure method -- if you comment it out, things are a lot more responsive (albeit broken). Can you explore some more to find a more efficient solution? Responsiveness/smoothness is our #1 priority. Review status: 0 of 1 files reviewed at latest revision, 5 unresolved discussions, all commit checks successful. Blockly/Code/UI/View Controllers/WorkbenchViewController.swift, line 1019 [r2] ([raw file](https://github.com/google/blockly-ios/blob/25a0227352208abd6478a79c0860cbae81d40398/Blockly/Code/UI/View Controllers/WorkbenchViewController.swift#L1019)):
It might be more performant to create subclasses for two separate delegates (toolbox and workspace), so we don't have it going through unnecessary code. Blockly/Code/UI/View Controllers/WorkbenchViewController.swift, line 1053 [r2] ([raw file](https://github.com/google/blockly-ios/blob/25a0227352208abd6478a79c0860cbae81d40398/Blockly/Code/UI/View Controllers/WorkbenchViewController.swift#L1053)):
Line length. Blockly/Code/UI/View Controllers/WorkbenchViewController.swift, line 1068 [r2] ([raw file](https://github.com/google/blockly-ios/blob/25a0227352208abd6478a79c0860cbae81d40398/Blockly/Code/UI/View Controllers/WorkbenchViewController.swift#L1068)):
Line length. Comments from Reviewable |
Hmm. I'm not seeing that. Can you show me what you're talking about when you get in? Review status: 0 of 1 files reviewed at latest revision, 5 unresolved discussions, all commit checks successful. Comments from Reviewable |
I'm likely to abandon this one, in favor of the other pull request. But I'm leaving it here for comparison until I merge the other, in case anyone cares. Review status: 0 of 1 files reviewed at latest revision, 5 unresolved discussions, all commit checks successful. Comments from Reviewable |
Duplicate - solved with #172 |
…blocks.
This change is