#tvosdev — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #tvosdev, aggregated by home.social.
-
Throwing out 20 years worth of saved #Apple boxes. This is one of the nostalgic ones. 🥲
-
#iosdev Ever wonder what the actual point sizes are for TextStyle fonts (.headline, .body, .caption1, etc.) and how they vary with Dynamic Type changes? I just found this: https://developer.apple.com/design/human-interface-guidelines/typography#iOS-iPadOS-Dynamic-Type-sizes
There's a ton of useful font related info on that page for all #AppleDeveloper platforms: #ipadosdev #tvosdev #macosdev #visionosdev #watchosdev
-
Playing movies or trailers from your local server (2nd part of my app) now works as well. The #movie and #trailer discovery in the server app is complete. ✅💪
Next: Persisting the data with #SwiftData.
#WIP #BuildInPublic #NAPDev #tvOSDev -
-
Struggled a bit to get .focusSection() working in my tvOS app today. I could have sworn I had the right modifiers in the right order a few times, but it wasn’t until I matched it exactly to the sample code from the SwiftUI Companion that it started doing what I expected.
I also could _not_ get the view on the bottom of the screen to be focused by default, but I’m saving that problem for another day.
-
I put the finishing touches on my implementation of Gauge for tvOS. I only needed the “circular capacity” style, so it was fairly straightforward. I did have to level up my understanding of view builders and generics to get my API to match Apple’s. 🙂
One purposeful difference in my implementation: the top ring is 10% thicker than the bottom ring, which I think looks pretty good.
-
Alright! Forward progress today. Now I can dig into the tvOS version and CI will watch my back and make sure that the watchOS version stays healthy. #SwiftUI #iOSDev #watchOSDev #tvOSDev
-
For #iOSDev (and #macOSDev, #watchOSDev, #tvOSDev, #iPadOSDev as well) I still really enjoy using Dash.app.
And for #SwiftUI I’ve really enjoyed SwiftUI Companion. I was just looking for alternatives to the .onAppear() modifier, so I popped into that app to see what I could find. I typed “onAppear” in the search field and landed on a great article with concise examples of Handling Events.
-
Building this app for four platforms at once is interesting because code architecture choices I would make for one platform, I wouldn’t make for another. Toss in a dash of framework availability, and it can get complicated fast. I’m trying to strike a good balance between making forward progress and playing 4D chess with myself. 😄
Regardless, there’s definitely a big refactor in my future.