Good way to maintain codes after swift upgrading?

Hi ,


I like to use swfit , not I am afraid that if swift is version uped, my current source is not builded in future xcode.


My previous swift2 projects are not fully changed to swift3 even if Xcode show me popup to convert. (and I did that convert but so many build errors..)


So my new projects are usually with objective-c.


but I want to use swift , if there is easy way to keep my code and can upgrade my codes, easily even if swift4 , swift5 is released.


Any idea or way for this ? 🙂