β Completed Day 8 of #100DaysOfSwiftUI!
I learned how default parameters add flexibility and how Swift handles errors with throws, try, do, and catch.
For Checkpoint 4, I found integer square roots without sqrt() or similar functions.
https://t.co/LZnJ29j8qq via @twostraws
@JCMAppStudio@twostraws Thank you! The distinction is starting to click: "continue" skips the current iteration, while "break" exits the loop completely. Iβm looking forward to applying both more as the examples become more complex!
β Completed Day 6 of #100DaysOfSwiftUI!
Today I learned how for and while loops repeat work, when to use break vs continue, and how ranges control iteration.
I also solved FizzBuzz by checking multiples of 3 and 5.
https://t.co/R2JlMvWIJ4 via @twostraws
@JCMAppStudio@twostraws Thatβs a great point. I can see how the extra typing now becomes a safety net later, especially as an app grows and enums gain new cases. Having the compiler show every place that needs updating sounds much better than discovering missed cases at runtime.
β Completed Day 5 of #100DaysOfSwiftUI!
Today I learned how Swift handles conditions with if, else, switch, and the ternary operator.
Switch stands out because it must be exhaustive and supports pattern matching.
https://t.co/HiuRgeh2QM via @twostraws
β Completed Day 7 of #100DaysOfSwiftUI!
Today I learned how functions make code reusable with parameters, return values, tuples, and labels.
I also used sorting to check whether two words contain the same letters.
https://t.co/6YA68tZdOw via @twostraws
@JCMAppStudio@twostraws That makes a lot of sense. I can already see how requiring every case to be handled makes the code safer. Iβm looking forward to seeing how switch and enums work together later in the course!
β Completed Day 4 of #100DaysOfSwiftUI!
Today I learned how type inference and type annotations help Swift maintain type safety.
For Checkpoint 2, I used an array and Set to compare the total and unique values.
https://t.co/rF1mUpQJVB via @twostraws
β Completed Day 3 of #100DaysOfSwiftUI!
Today I learned how arrays preserve order, sets remove duplicates, dictionaries use keys for fast retrieval, and enums group related values clearly.
https://t.co/T87gBUf1Y2 via @twostraws
β Completed Day 2 of #100DaysOfSwiftUI!
Today I learned Booleans, toggling values, string concatenation, and why string interpolation is faster and more flexible.
I also converted 26.0Β°C to 78.8Β°F in Checkpoint 1.
https://t.co/5gnqTyUdiz via @twostraws
β Completed Day 1 of #100DaysOfSwiftUI!
Today I learned how Swift uses type safety, why let is preferred over var, and how strings, integers, and doubles behave.
Even 0.1 + 0.2 has a surprise π
https://t.co/UpYw3IdDK6 via @twostraws
β Completed Day 0 of #100DaysOfSwiftUI!
My takeaway: iOS development is more than Swift and SwiftUI. Data, networking, Git, testing, architecture, and community matter.
Avoid shiny object syndrome. Stay consistent.
https://t.co/j2mlIAnZI9 via @twostraws