@Hugo_say@mastodon.social
@Hugo_say@mastodon.social avatar

Hugo_say

@Hugo_say@mastodon.social

This profile is from a federated server and may be incomplete. Browse more on the original instance.

simonbs, to random
@simonbs@mastodon.social avatar

They should make more hardware with metal toggle switches because this is so satisfying.

Me switching the toggle switch on an espresso machine.

Hugo_say,
@Hugo_say@mastodon.social avatar

@simonbs my LELIT p62t is currently in maintenance (aka dismembered next to my desk) and I’m starting to fear that if you keep posting about this machine I’ll end up buying it 🙈 !

dimillian, to random French
@dimillian@mastodon.social avatar

Bon appétit!

Hugo_say,
@Hugo_say@mastodon.social avatar

@dimillian joyeux anniversaire 🎂

dimillian, to random
@dimillian@mastodon.social avatar

The most degenerate thing you could watch

Hugo_say,
@Hugo_say@mastodon.social avatar

@dimillian one hour in the podcast and I still don’t understand the meaning of your toot 😅

deanatoire, to SwiftUI
@deanatoire@mastodon.social avatar

Am I the only one who take more time trying to fix SwiftUI previews than actually writing or tweaking views?

Hugo_say,
@Hugo_say@mastodon.social avatar

@deanatoire what kind of fixing are we talking about ? I usually don’t have issues with them

Hugo_say,
@Hugo_say@mastodon.social avatar

@deanatoire @MuseumShuffle one you start using them it’s hard to go back 🙈

dimillian, to random
@dimillian@mastodon.social avatar

Gm

Hugo_say,
@Hugo_say@mastodon.social avatar

@dimillian I blame my cat for the poor art 😂

Hugo_say, to random
@Hugo_say@mastodon.social avatar

@dimillian, I love the idea of the new indentation marker but I feel like it’s a bit too much as soon as you get to 2 or more levels.
How do you feel about these ? I’d be happy to draft a PR about it !

image/jpeg
image/jpeg

saagar, to random

Sometimes I see something that makes me go: “How can one person achieve so much by themselves? They must be so smart!” Then I learn they’re just a jerk nobody will work with.

And they are smart, of course. But I’m left wondering what would be possible if they weren’t a jerk.

Hugo_say,
@Hugo_say@mastodon.social avatar

@saagar I can think of many people that achieve a ton of stuff and that are great persons:
@_inside, @johnsundell, @twostraws, @icanzilb just to name a few 🫶

Hugo_say,
@Hugo_say@mastodon.social avatar

@icanzilb @saagar difficult to work with is a thing, being a jerk is another 🙂

dimillian, to random
@dimillian@mastodon.social avatar

What do you think about my death last boss for my Vampire Survivors clone?

Hugo_say,
@Hugo_say@mastodon.social avatar

@dimillian It looks scary! 🫣

simonbs, to random
@simonbs@mastodon.social avatar

Can anyone think of a design pattern that makes it easy and safe to keep the state of child objects in sync with their parent? I.e. when a property is updated on a parent object, the new value should be forwarded to its children.

The naive approach is to override didSet on the parent's property and forward the new value to the children but it’s easy to forget to update the implementation of didSet when new children are introduced.

Hugo_say,
@Hugo_say@mastodon.social avatar

@simonbs I may have missed something in your different solutions but wouldn’t a Reference class that stores only one property at a time be a solution ?

If you want multiple states to be grouped you can use @dynamicMemberLookup to make the solution more ergonomic (as presented in @sundell’s https://www.swiftbysundell.com/tips/combining-dynamic-member-lookup-with-key-paths/)

image/jpeg

christianselig, to random
@christianselig@mastodon.social avatar

The ring switch was the first feature I used on every iPhone (so I could turn it to silent then never touch it again)

Hugo_say,
@Hugo_say@mastodon.social avatar

@christianselig I still use it sometimes for the satisfying haptic feedback and animation of the dynamic island. 🤩

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • tsrsr
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • hgfsjryuu7
  • Youngstown
  • InstantRegret
  • slotface
  • khanakhh
  • rosin
  • ngwrru68w68
  • kavyap
  • PowerRangers
  • tester
  • tacticalgear
  • cubers
  • everett
  • vwfavf
  • ethstaker
  • osvaldo12
  • Durango
  • mdbf
  • cisconetworking
  • modclub
  • GTA5RPClips
  • normalnudes
  • anitta
  • All magazines