π I just finished Day 48 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/48 via @twostraws
π I just finished Day 48 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/48 via @twostraws
π I just finished Day 82 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/82 via @twostraws
Today, I had the opportunity to practice building the tab bar of a #SwiftUI app and store and filter data using SwiftData.
π I just finished Day 29 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/29 via @twostraws
π I just finished Day 55 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/55 via @twostraws
A short Day 4 of #100DaysOfSwiftUI but glad it was about type annontations. Am I being overly declarative in my code? I mean obviously `let isSleepy = true` is boolean. But `let isSleepy: Bool = true` gives you no doubt and is consistent.
In practice what do you Swift devs do - a mix? Declare only when forced to do so, like forcing a Double over an Int?
π I just finished Day 54 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/54 via @twostraws
π I just finished Day 47 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/47 via @twostraws
π I just finished Day 10 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/10 via @twostraws
π I just finished Day 81 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/81 via @twostraws
TIL how to add custom row swipe actions to a #SwiftUI `List`, how to schedule local notifications, and how to add Swift package dependencies in Xcode.
π I just finished Day 9 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/9 via @twostraws
This was a fun one. I like the way swift uses closures so naturally. Spotting that βinβ keyword is a great reminder also of whatβs happening.
π I just finished Day 80 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/80 via @twostraws
TIL how to use the `Result` type in Swift, how to control image interpolation in #SwiftUI, and how to create context menus.
π I just finished Day 46 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/46 via @twostraws
Oopsie - I accidentally ran through two lessons in one day yesterday for my #100DaysOfSwiftUI course.
Day 2 was all about booleans and strings, and then we created a script that converts celsius to farenheit in our playground. Learning the formatting for string replacement, it's always slightly different in every language. I notice I don't have to convert the value to string first.
```
let tempCelsius = Decimal(15.0)
let message = "The temperature is \(tempCelsius)"
```
π I just finished Day 8 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/8 via @twostraws
π I just finished Day 45 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/45 via @twostraws
π I just finished Day 79 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/79 via @twostraws
TIL how to let users select items in a #SwiftUI `List` and how to create tabs with `TabView` and `tabItem()`.
Day 1 of 100 Days of SwiftUI was all about variables and constants.
Suprising items:
You don't explicitly declare the data type (you can tho). Swift just decides on the data type based on the initial value. I much prefer explicit assignment myself.
The playground's ability to "play" specific lines and see the results in the right hand pane is nice.
As I'm trying to learn, XCode is giving me the answer via intellisense. Need to turn that off.
π I just finished Day 85 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/85 via @twostraws
π I just finished Day 78 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/78 via @twostraws
Today, I updated the #SwiftUI app I built in day 77 to use MapKit.
The "NameThatPhoto" app lets users upload and name a photo from their library. It then displays the photo alongside a map that includes a pin indicating its location.
π I just finished Day 44 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/44 via @twostraws