The Turbo Native guy - I help Ruby on Rails developers build server-powered Android and iOS apps with Turbo Native. Here to help - DMs open!
Mar 16, 2022 • 9 tweets • 4 min read
Some of the best tutorials for leveling up your Hotwire dev skills.
👇
Hotrails
@alexandre_ruban's free and open source course on building apps with Turbo. 10 chapters cover topics like simple CRUD controllers, real-time updates, and even a bit on Turbo Streams and security.
XCTest tips and tricks that can level up your Swift testing.
🧵👇
1. Use XCTUnwrap instead of force wrapping optionals
Force unwrapping a nil will cause the test suite to completely crash, meaning no output or reporting. XCTUnwrap provides a nice failure message and fails the test.
Feb 2, 2021 • 4 tweets • 1 min read
I spent most of today reworking the core logic of @TheMugshotBot and really enjoyed it! This is super exciting because it opens up a lot of new opportunities for upcoming themes and customizations. And ironed out a bunch of bugs.
A big help was commenting out the entire model and TDDing the bulk of the logic. I missed a few things on the first pass, but was able to backfill a feature or two and then wrap it in tests.
I'm all for this "TDDish" approach I've developed over the past few years!
Jan 19, 2021 • 8 tweets • 3 min read
I spent exactly 8.5 hours this weekend and built a fully functioning SwiftUI app. It uses open data to map the Heritage Trees of Portland, OR.
It's also open source. I'm planning on continuing to build this in public. github.com/joemasilotti/p…
My first pass was a simple list view showing each tree. This downloads data from an open API provided by the city of Portland.
I experimented with Combine and URLSession's dataTaskPublisher to get this working in MVVM fashion. portlandmaps.com/metadata/index…