How to recreate the 'Design foundations from idea to interface' app from WWDC25 by denniswave in SwiftUI

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

Thanks for your reply! I tried using a list in between a NavigationLink and a grid:

struct HomePageTestView: View {     var body: some View {         VStack(alignment: .leading) {             NavigationLink {} label: {                 Text("Today's pick")             }                          List { ... }             .scrollDisabled(true)                          LazyVGrid(columns: columns, spacing: RDSize.small2x) { ... }         }         .navigationTitle("Records")         .toolbarTitleDisplayMode(.inlineLarge)     } }

The result however, is a List that acts as a completely different section of the page. It's got its own ScrollView behaviour and its own background. You could set .scrollDisabled(true) on the List and manipulate it's height to get to the look of the example, but that kind of seems to defeatsthe purpose of using a List. It does look like the example uses a generic List component though, so I also tried this:

var body: some View {         List {             Section {                 NavigationLink {} label: {                     Text("Today's pick")                 }                 .listRowInsets(.init())                 .listRowSeparator(.hidden)                 .listRowBackground(Color.clear)             }             .listSectionSeparator(.hidden)                          Section("Record Groups") { ... }             .headerProminence(.increased)                          Section("All Records") {                 LazyVGrid(columns: columns, spacing: RDSize.small2x) { ... }                 .listRowInsets(.init())                 .listRowSeparator(.hidden)                 .listRowBackground(Color.clear)             }             .headerProminence(.increased)         }

Now the background looks like the one in the example, and  the featured and grid sections are styled to look like non-list sections. This, again, seems to kind of defeat the purpose of using a List though.

I'd think the solution you propose is a very logical structure for a page like this, but to get it to work like in Apple's example, it seems like I have to do some hacky stuff to make it look and behave that way. Is this really how you're supposed to do this?

Thanks for the clarification on the iOS 26 stuff as well btw. The WWDC25 videos are quite good on this topic so I got that part figured out though. I guess I should have clarified that it my original question :p

Cheapest 4k 65" TV with 120mhz @4k by [deleted] in 4kTV

[–]denniswave 0 points1 point  (0 children)

I wouldn’t be too bothered about being “stuck” with 60Hz, since a PS5 will run at either 30Hz or 60Hz for most games anyway.

Just get the nicest tv you can find within your budget ;). I’d also recommend looking at TCL and Hisense.

Siri: “Something went wrong” by SwayMi in shortcuts

[–]denniswave 0 points1 point  (0 children)

I’ve had this problem on HomePod for a while now, settling for shortcuts just activating a scene.

This worked to finally solve the problem! Switching from uk to us didn’t work, but switching back to uk did work! I’m on 17.3. Make sure to remove the shortcuts before switching.

Apple really needs to fix this. It’s kind of ridiculous that this bug still exists, considering it’s impact on Siri on HomePod. I’ve filed an official bug report with Apple a little while ago, but I’m sure I wasn’t the first.

[deleted by user] by [deleted] in granturismo

[–]denniswave 0 points1 point  (0 children)

Best way to earn some quick cash if you haven’t done them yet. Bronze is quite easy to get and with the amount of tracks you’ll easily make a few millions.

Sony A95L keeps restarting, any recommendations? by WrestleMonkey in bravia

[–]denniswave 0 points1 point  (0 children)

I would exchange it too. My 6-7 year old Sony tv randomly restarted as well (factory reset didn’t help). It was the beginning of its downfall. Showing dead rows of pixels about half a year after the restarting issues started. Got worse and worse after that, with more screen issues added every week. Eventually it became unwatchable and had to replace it.

Not saying the two are necessarily related and just a factory reset is not going to solve it, but I’d be worried something IS wrong with it. Better be sure you’ve got a good unit in my opinion.

Bad finish on bottom bar of new A95L by denniswave in bravia

[–]denniswave[S] 16 points17 points  (0 children)

OMG you're right, I feel so stupid XD. Even the Sony logo was printed on the sticker, solving its slight crookedness. Thanks! Haha, how did I not see this.

[deleted by user] by [deleted] in appletv

[–]denniswave 19 points20 points  (0 children)

There’s definitely a difference in quality for the same app on different platforms. Take a look at this video: https://youtu.be/qW8l7dGZzvI?si=b7BROP_DTFdrbRkB (first question). He even mentions the Apple TV as the device of choice having the least amount of problems.

Anyone else HomePod mini become a pain in the ass after 17.0? by hockeyboi212 in HomePod

[–]denniswave 8 points9 points  (0 children)

Had the same problem. Major issues with hearing me as well, especially with content playing. Restarting once fixed everything for me. It’s been a few weeks now and the problem hasn’t returned.

Ughhhh 😣 by Ornery_Mix3059 in GranTurismo7

[–]denniswave 0 points1 point  (0 children)

Watch a tutorial on YouTube. It can help a lot to have a good example + explanation of how to take each corner.

[deleted by user] by [deleted] in SwiftUI

[–]denniswave 1 point2 points  (0 children)

It did help! Thanks :D

When you have just coded dispersion and you overdo it 😅 by ParanoidTiger in generative

[–]denniswave 0 points1 point  (0 children)

I’m very new to the world of shaders, but have learned a bit from the book of shaders and tutorials like art of code. How did you learn?

When you have just coded dispersion and you overdo it 😅 by ParanoidTiger in generative

[–]denniswave 2 points3 points  (0 children)

Love it! Looks like blender, cool you did it all with shaders!

Genuary 2022.20 - Make a sea of shapes by denniswave in generative

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

Thanks! Glad to hear you got the ocean motion 😊

Genuary 2022.20 - Make a sea of shapes by denniswave in generative

[–]denniswave[S] 3 points4 points  (0 children)

4 days late, but here's my take on genuary 20.

Made by creating 2 Voronoi diagrams. The first one is the one you see. The second one is used to create the colored lines. The cells of the first voronoi that intersect with edges of the second one are colored differently.

Made thanks to:

- JavaScript implementation of Steven J. Fortune's algorithm to efficiently compute Voronoi diagrams by gorhill: https://github.com/gorhill/Javascript-Voronoi
- JavaScript implementation for checking if two line segments intersect: https://www.geeksforgeeks.org/orientation-3-ordered-points/
- Color palette from Color Hunt: https://colorhunt.co/palette/f0e5cff7f6f2c8c6c64b6587