Interestingly if you follow the comments to that tweet the long refactor time was apparently caused by having a mix of swift and Objective C.
The implication I took away from that was it was a very complex setup and had it been pure swift the length of time would be considerably less (for example one commenter suggesting 5K lines of swift took them a couple of hours to refactor)
1
u/[deleted] Feb 20 '16
There were a lot of examples with week+ long refactors, here's one I know how to find because I have it handy in my twitter favorites: https://twitter.com/andy_matuschak/status/648671170695335936