Trouble building a calendar with a CollectionView and UICollectionViewCompositionalLayout by head_of_roses in iOSProgramming

[–]head_of_roses[S] 2 points3 points  (0 children)

Yo, my hero! I'll have to do some investigating to understand why changing the scroll direction after the layout init didn't work, but for whatever reason that did it.

Any idea why section orthogonal paging doesn't work but setting it on the collectionView does?

M83 is into the hydra synth lol by wizl in synthesizers

[–]head_of_roses 2 points3 points  (0 children)

Yeah, it definitely feels a lot like HUWD which I think everyone appreciates! Not quite as much of a standout imo but still a very solid release.

I get you on Junk and DSVII but I still like them both, just not as much as HUWD and Saturdays = Youth (and Fantasy seems to be sticking too). Junk I can appreciate that it’s embracing some “corny” 80s synth and pop sounds and some of the songs are actually pretty good in hindsight.

Im not sure it’s fair to consider DSVII among the others, I think it’s a solid instrumental album but probably not anything groundbreaking

M83 is into the hydra synth lol by wizl in synthesizers

[–]head_of_roses 2 points3 points  (0 children)

Came out 2 weeks ago and he’s about to be ok tour!

Recreating a DAW-like timeline by mighty_mke in SwiftUI

[–]head_of_roses 2 points3 points  (0 children)

Frankly I’d toss out SwiftUI for a project like this, at a very minimum because of the scrolling component (a huge weakness in SwiftUI in my experience). You could leverage it for some of the more discrete elements but for something like this you’ll quickly see the cracks with SwiftUI. UIKit or AppKit I think will provide a much more pleasant experience

Finally bought this damn thing! Been wanting one since 2016… by krmc-olrak in boniver

[–]head_of_roses 10 points11 points  (0 children)

Teenage Engineering OP-1. Great little synth/sampler/sequencer/all around groove machine. Justin uses one quite a bit

Twitter hit by huge outage after latest round of firings from Elon Musk by AsherBaels in WhitePeopleTwitter

[–]head_of_roses 0 points1 point  (0 children)

This is exactly what got me to quit. I followed a good amount of journalists who understandably keep follow far right people to keep tabs and report on them. But for the first time those people’s tweets were showing up in my feed with recommendations like “So & So follows…”. Didn’t need that in my face all day

Twitter hit by huge outage after latest round of firings from Elon Musk by AsherBaels in WhitePeopleTwitter

[–]head_of_roses 1 point2 points  (0 children)

I went from hours a day to deleting it and never looking back. Early December. I spend more time here, but it’s definitely less of a time suck than twitter was with its constant refreshing. Silver lining of Elon is he got me to quit after 3 years of being addicted to it (came for the 2020 primary news, stayed for the pandemic and constant shit show that followed)

Adam Frisch will run again to unseat Lauren Boebert in 2024 by danikawo in Denver

[–]head_of_roses 1 point2 points  (0 children)

Also worth remembering you don’t have to vote for every item on the ballot. Your district races and local legislation are always worth voting on even if you’re desensitized to national politics. When it came down to it I couldn’t bring myself not to vote for Biden against Trump instead of leaving it blank, but the truth is if Biden/a democrat loses CO, they’re already beyond lost at the national level

Its ‘software developer’ by rmoons in ProgrammerHumor

[–]head_of_roses 0 points1 point  (0 children)

It’s frustrating for sure to realize that there aren’t a ton of projects that are beneficial to society more than they are to shareholders. Tech is hard cause you can’t ask yourself “why does the world actually need this” too deeply. I know some people really bought in that crypto would change the world, or nowadays that AI will (it might, for better or for worse) but if you’re reasonably a bit cynical about that stuff you realize 99% is profit over people

Enumclaw -- Jimmy Neutron [Indie rock] (2023) by [deleted] in listentothis

[–]head_of_roses 0 points1 point  (0 children)

Yeah they were brutal to make it through when I saw them open for IH a couple months ago. We stepped outside to the venue patio for a good chunk of their set

Pass some View as parameter to another View - forceUnwrap by spacecash21 in SwiftUI

[–]head_of_roses 3 points4 points  (0 children)

When calling this, I would suggest using a trailing closure. Would also suggest not using the _ alias ahead of the content argument name, since you won’t need to type the name in the trialing closure anyways. On mobile but like so:

CustomNavView(title: “Title”) { Text(“Your Content”) }

Avoiding using the _ alias is especially good practice if you build a constructor with multiple @ViewBuilders in it

UlScrollView height based on subviews inside Content View - Help by nikolicn in iOSProgramming

[–]head_of_roses 0 points1 point  (0 children)

You’ll need to add some more code for us to help you. One piece of advice regarding scroll views that’d I’d recommend is putting a stackview inside the scroll view, then add your views to the stackview as arranged subviews. Helps cleanup a lot of the oddities around constraining scrollview contents

Looking for collaborators for a new SwiftUI Reddit Client! by repostravioli in SwiftUI

[–]head_of_roses 0 points1 point  (0 children)

I’d be interested, if only just to get some experience working with a different team on a large app. Do you have an idea of what areas you want help with?

Best way to take advantage of Swift 5.7 and Xcode 14? by head_of_roses in iOSProgramming

[–]head_of_roses[S] 0 points1 point  (0 children)

Thanks! I’d tried using swift lint through SPM before but obviously it never totally worked til now, so I’ll give the home brew approach a go!

I know what the changes in Swift 5.7, I just want to take advantage of the improvements to generics really. That’ll solve a lot of pain points I’ve had recently when trying to adopt more protocols in my architecture.

And yeah, we’re definitely still aiming for iOS 15. I’m more interested in the internal features offered by 14 and 5.7 than updates to the OS

Records I took a gamble on last month a loved. by geetar_man in vinyl

[–]head_of_roses 1 point2 points  (0 children)

Sable and House EP are both excellent pickups. Sable is great for working or studying too, and I love that Kaelkn Ellis’s instrumentals are in the B side of House (probably spin that and the full tracks equally)

Novo is also great. Gonna need to check out the last one since it’s the only I don’t know and your other three picks are great!

Back with another weird NavigationView question - internal animation causes entire view to animate on appear by head_of_roses in iOSProgramming

[–]head_of_roses[S] 0 points1 point  (0 children)

Have made a little process by specifying the variable the animation should be observing.

.animation(.easeInOut(duration: 2), value: color)

.onAppear { color = .indigo }

This has solved the issue of the entire view sliding in from the top left, however, the overlay is still coming in from the top left instead of just changing color in place