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

#iOSDev #tvOSDev

This is such a useful site. You can search for OSError by name or number; results indicate which platforms the error is valid for, which Framework it's defined in, and the name/value for the error.

https://www.osstatus.com/

#macOSDev #IOSDev #watchOSDev #visionOSDev #tvOSDev

(Note: I was hesitant to post this because it still refers to Twitter and hasn't been updated since July 2024 at time of posting.)

OSStatus — Apple API Errors

Look up Apple API error codes, for Mac OS X, iOS, watchOS, visionOS, and tvOS

#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

Typography | Apple Developer Documentation

Your typographic choices can help you display legible text, convey an information hierarchy, communicate important content, and express your brand or style.

Apple Developer Documentation

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

Starting my day off with some more work on this tvOS app. #SwiftUI #tvOSDev #iOSDev
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

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

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

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