I just came across an 8 year-old answer that was originally posted in Objective-C (the question was in Objective-C and the question is tagged Objective-C). 5 years later (3 years ago), someone rewrote the code into Swift. Since then the answer has had several updates by other users to fix typos and grammar issues. And the code has been updated a few times as Swift has evolved over the years.
This answer was accepted by the OP almost immediately after the original answer was posted. It now has over 440 upvotes.
This answer should never have been rewritten to Swift from Objective-C. But there are enough other fixes that a simple rollback can't be done.
Should I just edit the current answer back to Objective-C or is there a better way to handle this?
There are currently 19 answers on this question including several that are specific to Swift.