79368401

Date: 2025-01-19 04:24:01
Score: 1
Natty:
Report link

For the next person that sees this the issue is right here.

https://github.com/BrandonRoehl/didchange/blob/main/didchange/TestView.swift#L50

The text view is re-initilized when a Coordinator needs to be set for the state and hold the delegates that need to fix it. https://github.com/BrandonRoehl/didchange/commit/1a9a111c0063c633604a982683a99c9ff476fe63

changing

let delegate = TestDelegate()

into

public func makeCoordinator() -> TestDelegate {
    return TestDelegate()
}

sad to admit how many days this took to figure out but hope this helps someone else

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Brandon Roehl