#8
Clean up ScreenSharingVNC.swift - remove unused and commented code
Summary
This PR cleans up the ScreenSharingVNC.swift file by removing dead code that was left over from development.
Changes
-
Removed commented-out duplicate
ScreenSharingVNCclass (lines 7-28)- This was a duplicate of the actual class that appears later in the file
- The commented code included an incomplete implementation of
waitForURLandstopmethods
-
Removed commented-out mouse event handlers (lines 385-435)
- Three methods were completely commented out:
mouseDown,mouseDragged, andmouseUp - These were old implementation attempts that are no longer needed
- Three methods were completely commented out:
-
Removed unused
scalevariable- The variable was defined but never used when creating the window size
- This removes a compiler warning about unused variables
Impact
- Lines removed: 82 lines of dead code
- Code readability: Improved - less clutter and confusion
- No functional changes: The actual working code remains unchanged