Code for the Swim Splitter App