@JTostitos@techhub.social
@JTostitos@techhub.social avatar

JTostitos

@JTostitos@techhub.social

Swift Developer. Creator of Snippets Studio & SHOUT - Text Cases

Creator of open source project Spectra. A Prime Video client for
Apple Vision Pro.

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

JTostitos, to apple
@JTostitos@techhub.social avatar

This is what Amazon Prime Video could have looked like on visionOS had they not restricted web playback on mobile Webkit.

Did all this work and then realized that Prime Video requires the Widevine plugin to be present which mobile safari does not support. Interestingly, Prime Video works on desktop Safari, and forcing the user agent on mobile Safari to be desktop Safari doesn’t work. ☹️

Screen showing a potential Prime Video interface for show details on visionOS.

JTostitos, to swift
@JTostitos@techhub.social avatar

Apparently the name in NSPersistentCloudKitContainer(name: "") is supposed to be in bundle id format like "iCloud.com.yourDomain.YourAppName". And its supposed to match the iCloud container identifier.

I definitely did not know about or do it this way 😂

Is this true, and are there any long term consequences for not having it in this format?

JTostitos, to random
@JTostitos@techhub.social avatar

Here’s a question I haven’t seen anyone ask yet.

With CoreData, you cannot use constraints with CloudKit.

With SwiftData there is the “@ Attribute(.unique)” property wrapper (?, if that’s what it’s called). Does this work with CloudKit? Hopefully.

JTostitos, to macos
@JTostitos@techhub.social avatar

Can anyone point me in the right direction here?

In SwiftUI, I can do this from an iOS app to deeplink: UIApplication.shared.open(URL(string: "”))

However in macOS, NSApplication.shared has no equivalent. NSWorkspace.shared has an open(URL(””)) but it was not deeplinking properly. The view wouldn’t open. Maybe I was using it wrong though…

What is the expected way to deeplink on macOS?

JTostitos, to random
@JTostitos@techhub.social avatar

I am at a loss… How am I supposed to open a view in my app from a Shortcuts AppIntent?

Shortcuts stuff is in an AppIntent Extension. Is there a better way to do that OR is that how its supposed to be done?

Any help is greatly appreciated 🙂

JTostitos, (edited ) to random
@JTostitos@techhub.social avatar

Who’s ready for the macOS version of Snippets Studio??? 🚀

https://testflight.apple.com/join/fgwBjsha

JTostitos, to random
@JTostitos@techhub.social avatar

Goodbye Xcode 15 beta 5 🚮

JTostitos, to swift
@JTostitos@techhub.social avatar

Swift/SwiftUI Question: App Store Connect API provides a gzip when the response is successful for a particular endpoint I am accessing.

How do I take this gzip and save the contents of it to a files app / sandbox directory / swift data, so that I can read it and view the contents? From what I understand, gzip is similar to a zip file?

So far my attempts to save it to files to read the contents have failed. It says “Inappropriate file type or format”.

JTostitos, to random
@JTostitos@techhub.social avatar

Mac app update got rejected…
Is it really that hard to just click the app icon in the dock?

Also got rejected for using com.apple.security.network.server. Isn’t this needed for CloudKit?

Also, if both these issues are the case, why didn’t you guys flag this on my first app release? 😂

JTostitos, (edited ) to random
@JTostitos@techhub.social avatar

Snippets Studio 2.1 is out! Here are the changes in this update:

  • Underlying changes have been made to Snippets Studio to make it easier to implement new features in the future.

  • The onboarding and what's new experience has been redesigned.

  • A few UI changes have been made and a couple of bugs have been squashed.

  • The third column now displays Languages and Tags when clicking the manage button in the sidebar. Previously, Languages and Tags would appear in a sheet above the rest of the app. (macOS)

https://apps.apple.com/us/app/snippets-studio/id1639537757

JTostitos, to SwiftUI
@JTostitos@techhub.social avatar

Anyone have any experience putting their SwiftUI PersistenceController, CoreData xcdadamodeld file, and NSManagedObject Subclasses in a 📦 Swift Package?

Im getting this crash as soon as I moved it into a package. Any ideas why that might be? (Yes, I know I’m force unwrapping a few things 🙈. Any suggestion to improve this or fix this error would be appreciated 🙂)

JTostitos, to macos
@JTostitos@techhub.social avatar

Wish I knew that Widgets needed an App Group set up to read from Core Data. Would have added it in v1 of in anticipation of adding Widgets. Now I need to figure out how to move the store so both the App and the App Extension can access the data.

JTostitos, to random
@JTostitos@techhub.social avatar
JTostitos, to random
@JTostitos@techhub.social avatar

I hope I don’t regret updating to watchOS 10 on my series 6. 😬

JTostitos, to swift
@JTostitos@techhub.social avatar

Is there something I am missing here? Whenever I try to run either my AppShortcut or just a regular shortcut that includes one of my actions, it gives me an error.

Also of note, the AppShortcut is not blue like I tell the system with the ShortcutTileColor.

image/jpeg

JTostitos, to random
@JTostitos@techhub.social avatar

So about a year ago I took my Apple Watch to the beach (cause you know it’s rated for 50m water resistance, and Apple says you can submerse in salt water as long as you rinse thoroughly after use) and it started freaking out and phantom pressing hardware and software buttons. I had to disable emergency SOS because it kept trying to call 911. Display unresponsive. watchOS 9 was great because I could swipe up to access control center and I could ignore the side button I don’t ever go to that menu or use the app switcher.

Also since it pretty much always thinks I’m pressing the side button when I am not. Welp, watchOS 10 ruins this because now I have to press the stupid side button and now have trouble entering and exiting control center without the stupid shutdown/emegency SOS screen appearing 😑

JTostitos, to iOS
@JTostitos@techhub.social avatar

Does the shortcuts widget constantly reset itself for anyone else? It’s the most unreliable widget I’ve ever used.

JTostitos, to apple
@JTostitos@techhub.social avatar

Turns out that it is possible to load and play prime videos - thanks to some help from @khaost! I’ll be posting updates on this thread and hopefully if I run into any problems, someone will be kind and knowledgeable enough to help 🙏🏻😁.

If you would like to help test, you can use the link here: https://testflight.apple.com/join/C9D8X8oi

Please Note: The following are issues I am aware of.

🧵 1/2

From: @JTostitos
https://techhub.social/@JTostitos/111915481286012652

JTostitos, to random
@JTostitos@techhub.social avatar

Anyone know what the date format is of “May 14”? Goal is to convert May 14 to 05/14/2023, etc.

JTostitos, to macos
@JTostitos@techhub.social avatar
JTostitos, to random
@JTostitos@techhub.social avatar

Apparently, according to the feedback I received from Apple, the new music crossfade feature in the music app, is intended not to function with songs from the same album 😑. But why?

JTostitos, to wallpapers
@JTostitos@techhub.social avatar

I remembered this wallpaper I saved around the time the iPod 3 was out. Figured I would try to make a recreation of it for modern iPhones. I can’t guarantee that it will align properly on all iPhones but it should work on at least all the 6.1 inch models.

Feel free to download and share! Link to post is appreciated. :)

JTostitos, to SwiftUI
@JTostitos@techhub.social avatar

Hey everyone, I know I’m late to the visionOS party (lol) but I finally got an Apple Silicon Mac and was wondering if you all could point me in the right direction here:

How does Safari get an ornament on the top of the screen and floating above (not on top) of the main content itself?

I’m probably missing something obvious here but I couldn’t figure out how.

JTostitos, to random
@JTostitos@techhub.social avatar

Since when were these warnings a thing? The code that these warnings are popping up on hasn’t changed in forever…

Did this come along with the new-ish Concurrency changes?

JTostitos, to iOS
@JTostitos@techhub.social avatar

Hey all! Got two questions for you:

  1. What do you like to use as an Indie Dev for Press Kits (Zip File/Webpage/something else)? And
  2. What did you use to make a website to host the Press Kit on?

Right now I’m using Framer for the website but I’m sure there are better alternatives out there. For press kits, my app doesn’t make much right now so something low cost is what I am looking for.

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