Started turning the ContentView -> PaceResults calculations into functions but as of this commit they don't work so it contains many errors. Also DID make the seconds work properly so 0:00:300 properly wraps to 0:05:00, and likewise, 0:00:86400 properly wraps to 24:00:00.

This commit is contained in:
Isaac Greene 2022-04-13 22:19:11 -04:00
parent addcb49778
commit 743d9cff0e
4 changed files with 46 additions and 8 deletions

View file

@ -0,0 +1,14 @@
for i in 1...100 {
if i.isMultiple(of: 3) && i.isMultiple(of: 5){
print("FizzBuzz")
}
else if i.isMultiple(of: 3) {
print("Fizz")
}
else if i.isMultiple(of: 5) {
print("Buzz")
}
else{
print(i)
}
}

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<playground version='5.0' target-platform='ios' buildActiveScheme='true' importAppTypes='true'>
<timeline fileName='timeline.xctimeline'/>
</playground>