Felipe Espinoza
banner
fespinozacast.bsky.social
Felipe Espinoza
@fespinozacast.bsky.social
60 followers 52 following 68 posts
iOS and macOS developer. 🇨🇱🇳🇴. Youtuber (http://youtube.com/@craftingswift). Hobby designer, photographer and illustrator.
Posts Media Videos Starter Packs
Yesterday I encountered a small unexpected behavior when doing `self.count = count` where count is an optional state property.

I would have expected to be a compiler error, but instead it was a weird behavior.

Luckily Sarunw had a great post about it sarunw.com/posts/state-...

#swift #swiftUI
TIL: closures are reference types in Swift, then they don't behave well with `@Entry` and `EnvironmentValues`.

The way then is to wrap them in structs, like how SwiftUI's `DismissAction` works.

mjtsai.com/blog/2022/08...
Michael Tsai - Blog - Slow SwiftUI Closure Actions
mjtsai.com
A coworker recommended me to turn on spelling on Xcode. OMG, the code is so much nicer without typos, and is way easier to spot them :D
I am a fan of Ali Abdaal's work in general. I particularly liked this video about audio books.

Paraphrasing
"A blog post or a YouTube takes a week to make... a book can take years". So you get way more valuable content of all the effort that took to write the book

www.youtube.com/watch?v=WVaV...
My ONE Piece of Advice for Someone in Their 20s
YouTube video by Ali Abdaal
www.youtube.com
@charliemchapman.com I think in Framous, the restore purchase button is not working (at least for me), FYI
Hey Natalia, do you know how to do the navigation bar effect in UIKit or SwiftUI?

I can manually make it in UIKit, but such a "common" pattern specially in screens with stretchy headers doesn't seem to have a good public API, that I know of.
New video! I discuss how we run hackathons at my day job and share tips for organizing one at your company

This is quite relevant with WWDC 2025, as Hackathons are a great arena to try out new Apple APIs

www.youtube.com/watch?v=sELq...
Why you should be doing hackathons at work
YouTube video by Crafting Swift
www.youtube.com
Also my channel is growing :D
it's surprising how annoying can be to deal with live activities via push notifications.

APNS request are accepted, 200 ok, but nothing happens on device and the attached log calls don't show anything
also my sample project helped me a lot 🤣
I made a whole video about live activities.

Still, making a live activity for the SATS app has been challenging.

Remember: you need to send dates as timestamps since 1970!

youtu.be/mu9LlmUYC9E
Design and develop Live Activities with ActivityKit for iOS 18
YouTube video by Crafting Swift
youtu.be
What do you use for these graphics? Sketch, figma? Something else?

I think you have tons of graphic design knowledge you can share. Maybe as a course?
New video out! This time I share a quick tip on how to animate views driven by scroll on SwiftUI! I focus particularly in the position of a view inside a scroll view to drive animations.

A quick and handy technique to drive animations like the App Store app does

youtu.be/KkYLzgS7ky8
How to animate views as you scroll in SwiftUI
YouTube video by Crafting Swift
youtu.be
New video alert! In this one I share how we split our code at my day job using local SPM packages!
I go through my sample app from the latest videos and divide it into packages to be able to resuse code and work on isolated modules of my app

www.youtube.com/watch?v=IjoX...
How to modularize an iOS app with SPM packages
YouTube video by Crafting Swift
www.youtube.com
in general, I think developers and designers don't put enough attention to the navigation bar and the loading/error states as they should
I've been working on iOS for 7 years now. I love to learn each day more about this platform and try to make the best apps possible.

@jordanmorgan10.bsky.social now I'm reading the design book in your collection. I really appreciate your insights and your goal of "best in class" apps.
@seanallen.bsky.social you can check my video Design and develop Live Activities with ActivityKit for iOS 18
youtu.be/mu9LlmUYC9E and promote it on swift news if you think it’s worth sharing :D
Design and develop Live Activities with ActivityKit for iOS 18
YouTube video by Crafting Swift
youtu.be
My new video is up! This time I go how I would implement navigation on a medium to large iOS application with a pattern extracted from the app from my day job, so it's based on real world aplication.

youtu.be/CbqhMg7559A
youtu.be
I also recommend a lot a service like Readwise.

One thing is to read books and the other is to remember what you read.

This has revolutionized how I read books and articles.

Here is my affiliate link for readwise to get an extra free month in your trial readwise.io/craftingswift/
Readwise
Grow wiser and retain books better: Readwise sends you a daily email resurfacing your best highlights from Kindle, Instapaper, iBooks, and more.
readwise.io
One my daily routines, before starting my work day, is that I spend 10 min reading a book, also on weekends.

I like start my day by learning something and so far these are the books that I have read this year