home.social

#tvosdev — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #tvosdev, aggregated by home.social.

  1. Throwing out 20 years worth of saved #Apple boxes. This is one of the nostalgic ones. 🥲

    #iOSDev #tvOSDev

  2. #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: developer.apple.com/design/hum

    There's a ton of useful font related info on that page for all #AppleDeveloper platforms: #ipadosdev #tvosdev #macosdev #visionosdev #watchosdev

  3. 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

  4. Quite pleased with this custom #SwiftUI control I made for my TV app this weekend. When it gets focus it expands, changes color, and gains a slight shadow. #iOSDev #tvOSDev

  5. 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.

    #SwiftUI #tvOSDev #iOSDev

  6. 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.

    #SwiftUI #iOSDev #tvOSDev

  7. 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

  8. Current status: recreating Gauge for use in the tvOS version of my app. Definitely a fun way to learn some new stuff (ViewBuilders and generics). If anyone has anything they think I should read or watch on those subjects I won't say no. #SwiftUI #iOSDev #tvOSDev

  9. For #iOSDev (and #macOSDev, #watchOSDev, #tvOSDev, #iPadOSDev as well) I still really enjoy using Dash.app.

    kapeli.com/dash

    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.

    swiftui-lab.com/companion/

  10. 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.

    #SwiftUI #iOSDev #macOSDev #tvOSDev #iPadOSDev