@layoutSubviews@mastodon.social
@layoutSubviews@mastodon.social avatar

layoutSubviews

@layoutSubviews@mastodon.social

Alsatian at heart. Not as cool as David Bowie.
Currently: iOS Lead at Drawboard
Previously: VMkernel @ VMware, iOS @ , Bit Wrangler @ Itty Bitty Apps

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

dimillian, to SwiftUI
@dimillian@mastodon.social avatar

Once you master the .frame modifier Spacer() is really a relic from the past!

layoutSubviews,
@layoutSubviews@mastodon.social avatar

@dimillian if you see a Spacer(), they blew it

layoutSubviews, to random
@layoutSubviews@mastodon.social avatar

One of those days

layoutSubviews, to random
@layoutSubviews@mastodon.social avatar

I don't mind Taylor Swift, clearly she's a talented individual who deserves her success, but holy smokes will news outlets please chill out about her already.
She's not “The News”. Ukraine, Gaza, Climate Change is.

layoutSubviews, to random
@layoutSubviews@mastodon.social avatar

For each API in Apple’s documentation, there should be a link to the WWDC session where it is introduced and/or deep dived.
Bonus points if the link contains timestamp information.

layoutSubviews, to random
@layoutSubviews@mastodon.social avatar

Let’s say I have an animation that moves a View. In that same transaction, another View inside that View is created (if condition { MyView() }).
The problem I’m seeing is that “MyView” simply fades in at the final position of the animation, and doesn’t move along with its container.
Has anybody encountered this? Have you found a workaround?

layoutSubviews,
@layoutSubviews@mastodon.social avatar

@marcpalmer yeah unfortunately in my case the View is instantiated from the presence of a view model, which is also what triggers the parent animation. No way to get this view model in advance.

layoutSubviews,
@layoutSubviews@mastodon.social avatar

@marcpalmer it is really complex and varied though, think inspector 😬

layoutSubviews,
@layoutSubviews@mastodon.social avatar

Follow-up: geometryGroup() is absolutely the solution here, but I don't recall it being introduced this past WWDC. Looks like the SwiftUI team just snuck it in there.

layoutSubviews, to random
@layoutSubviews@mastodon.social avatar

If you're happy about celebrities downing a beer you should see our politicians.

layoutSubviews, to random
@layoutSubviews@mastodon.social avatar

Think you know Football? I highly recommend Radiolab's episode about the origins of "modern" Football, an amazing story you wouldn't expect: https://radiolab.org/podcast/ghosts-football-past

layoutSubviews, to random
@layoutSubviews@mastodon.social avatar

iOS 17.4 beta 2 has the strangest bug where the Now Playing information would be lost, with no way to control the currently playing app.
But then, after 10-20 minutes, the Now Playing information reappears, and something instantly decides to toggle the play state.
My money's on silicon ghosts.

layoutSubviews, to random
@layoutSubviews@mastodon.social avatar

I’m still amazed that, in a 30+ degrees day, I can cool most of my house at absolutely no cost & zero emissions. Solar panels are wonderful.

layoutSubviews,
@layoutSubviews@mastodon.social avatar

And, as @TechConnectify succinctly put it, a house is a battery; it is better to cool or heat it while energy is cheap & plentiful. So better use the heat pumps as much as possible before the sun sets.

layoutSubviews,
@layoutSubviews@mastodon.social avatar

“Air conditioners” are demonized in the press as straining the grid of many countries. But in Australia, we often have the reverse problem: there’s so much PV energy in the grid during the day that the agency in charge of it is pleading people to use it, lest some base load generators have to shut down to prevent a surge.

layoutSubviews,
@layoutSubviews@mastodon.social avatar

During these times, the energy prices go negative
How could this be? Well, power plants such as coal generators would rather pay to generate electricity than having to shut down their boilers/turbines, which as I understand is like trying to stop a freight train going 100 km/h, i.e. they’d really rather not.

layoutSubviews,
@layoutSubviews@mastodon.social avatar

Some electricity resellers even offer plans where power is free in the middle of the day. And the more you consume, the more money they make. That’s nuts!
That’s how much of a non-issue cooling a house is in Australia. That is, until it’s hot & cloudy 😬

layoutSubviews,
@layoutSubviews@mastodon.social avatar

@nesevis do you rent or own? As I tell everyone, it is surprisingly cheap & easy to go solar these days. I thought it’d be a big thing, waited years, until I took the plunge, and immediately regretted not doing it earlier.

layoutSubviews,
@layoutSubviews@mastodon.social avatar

@tonyarnold do you have single-phase or 3-phases? 3-phases allows you to install beefier setups that will make it easier to completely replace stuff like the water heater, and have an induction stove.

layoutSubviews,
@layoutSubviews@mastodon.social avatar

@bazscott @nesevis shop for another reseller

layoutSubviews,
@layoutSubviews@mastodon.social avatar

@nikhil @tonyarnold “liberating” is the word

layoutSubviews,
@layoutSubviews@mastodon.social avatar

@tonyarnold I don’t know about NSW, but her three phases allows you to install a 10kW inverter, which goes a long way towards making your house fully electric

layoutSubviews,
@layoutSubviews@mastodon.social avatar

@Keitho Absolutely. I wish there were better incentives and/or communication to get people to schedule the cooling of their home before they get back from work, for example, and flatten the demand curve.

decryption, to random
@decryption@aus.social avatar

deleted_by_author

  • Loading...
  • layoutSubviews,
    @layoutSubviews@mastodon.social avatar

    @decryption “my wife said I need to get rid of it or she’ll divorce me”

    layoutSubviews, (edited ) to random
    @layoutSubviews@mastodon.social avatar

    What is Linus Torvalds’ best contribution to mankind

    layoutSubviews,
    @layoutSubviews@mastodon.social avatar

    Interesting results.
    My opinion is that git is, in the end, his most significant contribution. The world may have progressed with BSDs instead of Linux, whereas git changed how we developed software forever; A tectonic shift that enabled/boosted open-source as we know it today.

    layoutSubviews,
    @layoutSubviews@mastodon.social avatar

    @rustyshelf A GitHub equivalent would have sprouted up. In fact, the GH monoculture is bad — I’d rather have landed on an ecosystem where there’s lots of choice to host code, but git is the underlying format.
    Whereas I feel like without the invention of git, we would easily have coasted with a sub-par versioning system for a long time, if not forever because of inertia.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • khanakhh
  • DreamBathrooms
  • everett
  • magazineikmin
  • osvaldo12
  • InstantRegret
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • thenastyranch
  • kavyap
  • GTA5RPClips
  • anitta
  • tacticalgear
  • Durango
  • cisconetworking
  • ethstaker
  • Leos
  • ngwrru68w68
  • modclub
  • tester
  • cubers
  • normalnudes
  • provamag3
  • megavids
  • lostlight
  • All magazines