#100DaysOfSwiftUI

Jon Waltersringbolt
2025-05-28
Enea Xharjaeneaxharja
2025-05-28

πŸŽ‰ I just finished Day 82 of the at hackingwithswift.com/100/swift via @twostraws

Today, I had the opportunity to practice building the tab bar of a app and store and filter data using SwiftData.

Fred Haineuxhaineux
2025-05-28
Ino Yang Popperino_iosdev
2025-05-28
Jeff Sikesbox464
2025-05-28

A short Day 4 of 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?

Code snippets showcasing type inference and type annotation in Swift programming language. The first snippet demonstrates a simple variable declaration, while the second shows explicit type definition for a variable.
Ino Yang Popperino_iosdev
2025-05-27
Jon Waltersringbolt
2025-05-27
2025-05-27

πŸŽ‰ I just finished Day 10 of the #100DaysOfSwiftUI at hackingwithswift.com/100/swift via @twostraws

Enea Xharjaeneaxharja
2025-05-27

πŸŽ‰ I just finished Day 81 of the at hackingwithswift.com/100/swift via @twostraws

TIL how to add custom row swipe actions to a `List`, how to schedule local notifications, and how to add Swift package dependencies in Xcode.

2025-05-26

πŸŽ‰ I just finished Day 9 of the #100DaysOfSwiftUI at hackingwithswift.com/100/swift 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.

Enea Xharjaeneaxharja
2025-05-26

πŸŽ‰ I just finished Day 80 of the at hackingwithswift.com/100/swift via @twostraws

TIL how to use the `Result` type in Swift, how to control image interpolation in , and how to create context menus.

Jon Waltersringbolt
2025-05-26
Jeff Sikesbox464
2025-05-25

Oopsie - I accidentally ran through two lessons in one day yesterday for my 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)"
```

2025-05-25

πŸŽ‰ I just finished Day 8 of the #100DaysOfSwiftUI at hackingwithswift.com/100/swift via @twostraws

Jon Waltersringbolt
2025-05-25
Enea Xharjaeneaxharja
2025-05-25

πŸŽ‰ I just finished Day 79 of the at hackingwithswift.com/100/swift via @twostraws

TIL how to let users select items in a `List` and how to create tabs with `TabView` and `tabItem()`.

Jeff Sikesbox464
2025-05-25

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.

Tobias Weberinfluous
2025-05-24
Enea Xharjaeneaxharja
2025-05-24

πŸŽ‰ I just finished Day 78 of the at hackingwithswift.com/100/swift via @twostraws

Today, I updated the 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.

Jon Waltersringbolt
2025-05-24

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst