When I am making applications in Xcode, I sometimes find that I write duplicate code.
Is there a way in Xcode to find duplicate code in all files? I would like to know this because I would put the code into a function instead.
swiftxcode
When I am making applications in Xcode, I sometimes find that I write duplicate code.
Is there a way in Xcode to find duplicate code in all files? I would like to know this because I would put the code into a function instead.
Best Answer
Not in Xcode itself, but there are third party solutions. They both can analyse Swift code.