@ryanlintott@mastodon.social
@ryanlintott@mastodon.social avatar

ryanlintott

@ryanlintott@mastodon.social

Indie/Freelance Swift developer making the Old English Wordhord app and various Swift Packages (mostly SwiftUI) like FrameUp, ShapeUp, LookingGlassUI, etc...

This profile is from a federated server and may be incomplete. Browse more on the original instance.

MuseumShuffle, to random
@MuseumShuffle@mastodon.social avatar

Last night I dreamed I was on Taskmaster. 🤴🏻

But they ended up cutting me because I wasn’t funny enough. 😳

ryanlintott,
@ryanlintott@mastodon.social avatar

@MuseumShuffle I’d watch that season. Indie devs instead of comedians. Maybe you’d win Greg’s thumb or something.

troz, to random
@troz@mastodon.social avatar

I’m trying to add voice-over accessibility labels to the menu items in a SwiftUI MenuBarExtra app but nothing I do changes anything. I can add accessibility labels to standard elements in a window, but not to buttons in a MenuBarExtra. Has anyone got this to work?

ryanlintott,
@ryanlintott@mastodon.social avatar

@MuseumShuffle @troz @RobW if you’re applying the accessibility label outside the button the Menu might be ignoring it (even though it shouldn’t). Try applying it to the Label inside the button or the Text inside the label and you might get better results?

MuseumShuffle, to SwiftUI
@MuseumShuffle@mastodon.social avatar

I'm finally learning about using App Intents for implementing configurable options for widgets. After watching the WWDC videos one thing is not clear to me.

If my app does not have any configurable widgets, and therefore does not have a custom intent file, can I keep using those widgets "as is" and then just create a new widget that uses App Intents for the widget's options?

ryanlintott,
@ryanlintott@mastodon.social avatar

@MuseumShuffle @gbuela i recently migrated but also support non-app intent widgets for older iOS. Both can work alongside each other but if you want to migrate that should work as well. If you don’t have any configurable options that should be even easier as you don’t need to use this: https://developer.apple.com/documentation/AppIntents/CustomIntentMigratedAppIntent

That said I haven’t friend migrating a configurable widget without that protocol so maybe you’ll end up with blank widgets until the user reboots.

craiggrannell, to InitialD
@craiggrannell@mastodon.social avatar

232: Lode Runner (1983)

This game took quite the journey to the Apple II, starting on the Commodore PET and being developed on university campus machines. By the time Doug Smith refined it for home play, it was a timeless platform puzzler with superb mechanics and limitless longevity by way of a level designer. It’s had many variations since – but single-screen efforts remain the best.

Play it on: , ,

Gameplay: https://www.youtube.com/watch?v=72k1ZYp83tc

ryanlintott,
@ryanlintott@mastodon.social avatar

@craiggrannell probably the first video game I played on a 5.25” floppy on my first pc. I loved this game and went through at least 100 levels.

ryanlintott, to random
@ryanlintott@mastodon.social avatar

After listening to this episode of Robot or Not, @hanavideen and I came up with a potential tongue twister for @siracusa

Pay the ferret a fair fare to ferry the fair fairies to the ferrous Ferris wheel at the fair.

video/mp4

ryanlintott, to swift
@ryanlintott@mastodon.social avatar

Well this is a fun Xcode bug...

craiggrannell, to retrogaming
@craiggrannell@mastodon.social avatar

By me for Stuff: Sega Dreamcast at 25 – and 6 of the best Dreamcast games • https://www.stuff.tv/features/sega-dreamcast-at-25-best-dreamcast-games/

ryanlintott,
@ryanlintott@mastodon.social avatar

@MuseumShuffle @craiggrannell Power Stone was the best!

ryanlintott, to random
@ryanlintott@mastodon.social avatar

Me: Hey Google, set the dining room to 21 degrees.

Google: I can't book restaurants here. Try asking me to book on your phone instead.

MuseumShuffle, to tearsofthekingdom
@MuseumShuffle@mastodon.social avatar

It always feels strange being a person who loves video games, but hates boss fights. I have been absolutely loving Tears of the Kingdom and have sunk a ridiculous amount of hours into it.

This final boss fight is miserable.

#TearsOfTheKingdom #Zelda

ryanlintott,
@ryanlintott@mastodon.social avatar

@MuseumShuffle it’s like going on a beautiful hike through the mountains and then having to fight a bear at the end of it.

ryanlintott,
@ryanlintott@mastodon.social avatar

@mattiem @MuseumShuffle I’d second this one. Hollow Knight is incredible but can also punish you so hard. I loved the exploration and difficult level traversal but the bosses were the worst.

MuseumShuffle, to SwiftUI
@MuseumShuffle@mastodon.social avatar

Something else I'm struggling with is using the button that is inside of my new interactive widget with VoiceOver. I added an accessibilityHint of "Push the button" and I do hear it being spoken when I select the button. However, when I push the button it just launches the app.

If I turn off VoiceOver the button works as expected.

Forecast widget for Please Don't Rain with a forecast for Epcot. There is an arrow pointing right that is a button. When VoiceOver pushes the button it launches the app.

ryanlintott,
@ryanlintott@mastodon.social avatar

@MuseumShuffle is it adding it as a secondary action? (Swipe up or down to select the other action)

ryanlintott,
@ryanlintott@mastodon.social avatar

@MuseumShuffle I would suggest simplifying the view. Try only including the button and nothing else to see if it works. It might be something in the hierarchy that's messing it up.

hannah, to random
@hannah@posts.rat.pictures avatar

Please look at these incredible illuminated manuscript cookies katie made yesterday

ryanlintott,
@ryanlintott@mastodon.social avatar

@MuseumShuffle very fun! Thanks for sharing.

_Davidsmith, to random
@_Davidsmith@mastodon.social avatar

Channeling my days programming in BASIC for the Z-Index values in my custom mapping system. It took me a long time to realize that BASIC line numbers didn't have to be multiples of ten and that convention was used so that you could subsequently insert lines if you needed to.

ryanlintott,
@ryanlintott@mastodon.social avatar

@_Davidsmith the multiple of 10 system reminds me of my days numbering shots in 3d animation. 010, 020, 030, etc. The leading zeroes helped with folder sort order.

craiggrannell, to random
@craiggrannell@mastodon.social avatar

Glad I complained earlier about iCloud photo sync being slow. Because now my Mac has decided not to sync iCloud photos at all. ARGH.

Why. Can’t. This. Just. Work.

ryanlintott,
@ryanlintott@mastodon.social avatar

@craiggrannell I had a major photo sync problem recently and would recommend using Apple Support to get to the bottom of it. Once I got to level 3 the database guru on the other end found some weird time zone issues causing all sorts of problems identifying shared storage and syncing. After he resolved everything on that end and I signed out and back into iCloud it finally worked. The lack of transparency with these issues is very frustrating.

ryanlintott, to Halloween
@ryanlintott@mastodon.social avatar
ryanlintott,
@ryanlintott@mastodon.social avatar
MuseumShuffle, to random
@MuseumShuffle@mastodon.social avatar

Feeling quite pleased with the title I came up with for tomorrow's update.

ryanlintott,
@ryanlintott@mastodon.social avatar

@MuseumShuffle you’re waxing lyrical! Many will be pleased with this new phase of your app. I’d write more but my puns are waning.

twostraws, to random
@twostraws@mastodon.social avatar

This feels like the world's tiniest SwiftUI tip, but in case it helps: the saturation() modifier can go beyond 1.0 to oversaturate colors. This is helpful when saturation has been lost, like with the blur effect shown here – it looks washed out with saturation 1, but great at 2+.

The words Hello World with a blurred gradient background. The gradient looks washed out, but as I drag the slider up it goes back to being bright.

ryanlintott,
@ryanlintott@mastodon.social avatar
ryanlintott, to random
@ryanlintott@mastodon.social avatar

Thanks to @MuseumShuffle I learned that Grid and GridRow in SwiftUI do not have an easy way to add an accessibility label to the entire row. There's also no way to create a background view for the row. Ideally there would be a .gridRowBackground similar to .listRowBackground but as that doesn't exist I put together a quick hack. It won't work for all cases but it's a start.

gist: https://gist.github.com/ryanlintott/d694a905120b78a477991e75eb32ca42

MuseumShuffle, to SwiftUI
@MuseumShuffle@mastodon.social avatar

I'm having the hardest time getting VoiceOver in a SwiftUI Grid to combine everything in a row. The only way I've figured out how to do it is to wrap the GridRow in an HStack, which seems clunky. Is there another way I could have done this?

ryanlintott,
@ryanlintott@mastodon.social avatar

@MuseumShuffle other alignment issues might arise if the content heights are different when put in a GridRow vs an HStack. Imagine an image that in the GridRow is locked to 25% width but in HStack is 33%. This height change might make the rows get out of alignment. On simple Grids it will probably work fine though.

ryanlintott,
@ryanlintott@mastodon.social avatar

@MuseumShuffle bingo! I think adding the accessibility to the first or largest element And hiding the rest is the best simple approach without building a whole new custom grid Layout.

ryanlintott,
@ryanlintott@mastodon.social avatar

@MuseumShuffle I'm easily nerd-sniped by SwiftUI puzzles. I kept thinking about this one and came up with another possible solution.

ScrollView tightly wraps the Grid and then containerRelativeFrame passes that width down to the background of the first view. This means your accessibility label can have the height based on the first view and width based on the overall container.

ryanlintott,
@ryanlintott@mastodon.social avatar

@MuseumShuffle One last improvement to make sure the height matches the tallest item. Also put it in a gist.

https://gist.github.com/ryanlintott/d694a905120b78a477991e75eb32ca42

christianselig, to random
@christianselig@mastodon.social avatar

Quick widget question: why does WidgetKit request placeholders 9x per widget? It then requests 4 variants of each (light/dark/bgOn/bgOff, so that makes sense), but the 9x I'm kinda scratching my head at why. Fresh project, context.EVs seem identical. 36 instances is costly

ryanlintott,
@ryanlintott@mastodon.social avatar

@MuseumShuffle This thread might help you slim down your widgets. Seems like the large number of placeholders can use a lot of memory so trimming them back might help.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • ngwrru68w68
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • provamag3
  • tacticalgear
  • osvaldo12
  • tester
  • cubers
  • cisconetworking
  • mdbf
  • ethstaker
  • modclub
  • Leos
  • anitta
  • normalnudes
  • megavids
  • lostlight
  • All magazines