pixel, to swift
@pixel@social.pixels.pizza avatar
michaelsteeber, (edited ) to random
@michaelsteeber@mastodon.social avatar

A big update to BitMaps, my maps app, is out today! I've added a new split view for browsing locations. You can now adjust the terrain style of each individual map and set a default zoom level. And I've improved the "Open in BitMaps" share extension to support more types of addresses:
https://apps.apple.com/us/app/bitmaps-bite-size-map-widgets/id6477943497

michaelsteeber,
@michaelsteeber@mastodon.social avatar

I'm really hoping for more additions to MapKit for SwiftUI at WWDC this year. BitMaps only exists today because of the features added to MapKit in 2023.

helge, to apple
@helge@mastodon.social avatar
helge,
@helge@mastodon.social avatar

@pixel That you can just download and play with: https://developer.apple.com/documentation/visionos/diorama/

pixel,
@pixel@social.pixels.pizza avatar

@helge !!!!

pixel, to iOS
@pixel@social.pixels.pizza avatar
pixel, to programming
@pixel@social.pixels.pizza avatar

Parsing JSON Data is a fundamental in modern SwiftUI apps. This comprehensive guide covers all the aspects of the Codable protocols in Swift.


https://matteomanferdini.com/swift-parse-json/

davidbures,
@davidbures@mstdn.social avatar

@pixel Jk on the picture, this is probably the best guide I’ve seen so far. I’ve been struggling with adopting Codable for years

kkolakowski, to apple
@kkolakowski@mastodon.social avatar

It is quite weird that before WWDC nobody is even talking about 😅 No wishlists, no requests, no angry users that wants more out of it 🤷‍♂️

All of the rage seems to be about the iPad. It's worth to note though that Vision Pro would benefit from iPadOS changes as well.

Migueldeicaza,
@Migueldeicaza@mastodon.social avatar

@kkolakowski we are still all learning the math to do funky hand gestures.

marwi, to webxr German
@marwi@mastodon.gamedev.place avatar

We've made a new features trailer for Needle Engine 3.36 ✨

https://youtu.be/VkcLvnK_aeU?si=2VVXWgnIezKzxKqW

marwi,
@marwi@mastodon.gamedev.place avatar

@ada oh thanks for your feedback. We made a short video, maybe this helps - https://youtu.be/3oWtdkH2_0k?si=IrVu00jWl-4lmgvh&t=65 please let me know:)

ada, (edited )
@ada@mastodon.social avatar

@marwi a quick correction you still get transient-pointer even if hand-tracking is enabled so you can use both at the same time.

Thanks for the video though I will give it another try tomorrow.

JetForMe, to macos
@JetForMe@geekstodon.com avatar

macOS hive mind: If I were to write a small utility to view 3MF files (the new standard for additive manufacturing, which at a basic level is a triangle mesh), should I use SceneKit or RealityKit to render it?

Really, I'd be writing an importer (I can't seem to find one already in existence).

pixel, (edited ) to swift
@pixel@social.pixels.pizza avatar

“This has come up several times on the forums, but I've never written it up in a standard place, so here it is: There are only three ways to get run-time polymorphism in Swift. Well, three and a half.”


https://belkadan.com/blog/2024/04/Run-time-Polymorphism-in-Swift/

Doozmen,
@Doozmen@moth.social avatar

@pixel thanks for writing this up. Do you know how applies to Kotlin? Probably the Java part in your table?

pixel,
@pixel@social.pixels.pizza avatar

@Doozmen I didn't write it :)

pixel, to swift
@pixel@social.pixels.pizza avatar

When SwiftUI was first released, one of the great features that piqued my interest was the instant preview function. This feature empowers developers to


https://www.appcoda.com/xcode-previews-uikit/

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

Spectra for Prime Video is now OPEN SOURCE. I look forward to seeing this project grow to a degree that I could not make happen on my own!

🚀 Boosts Appreciated! 😃

For those who are unaware: Spectra is an app for Apple Vision Pro that allows you to watch Amazon Prime Video content. While the iPadOS app is available on , many have said it is hard to use. Spectra aims to solve that by wrapping the website in a native app using and .

As this is the first real project I’ve made, I’ve done some research and think I have setup this repository correctly. But I am open to suggestions on what things I need to look out for and what I should consider enabling or disabling to prevent unwanted things from happening.

https://github.com/JTostitos/Spectra

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

Thinking about making this open source and publishing it for free on the App Store, (probably with a tip jar). I just don’t know enough about JavaScript to do this properly all on my own and I’m sure there are others who would have a good idea on how to structure the project better than I do.

Thoughts?

Boosts appreciated 🚀

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

pixel, to macos
@pixel@social.pixels.pizza avatar
danilo, to apple
@danilo@hachyderm.io avatar

The Entity Component System design pattern used in RealityKit for / is REALLY cool.

It's also a departure from what a non-game developer is probably used to. It was for me, anyway.

It took me a bit to get my head around it. Here's the five minute crash course I wish I'd had.

One component, one system, one button, THREE rockets!

https://github.com/daniloc/MyFirstECS/tree/main

tomlokhorst,
@tomlokhorst@mastodon.social avatar

@danilo Cool! I really like this type of introductory stuff when getting learning something new.

I know nothing about ECS, I just read your readme. But can you write the component shorter like this?
entity.components[LaunchComponent.self]?.launchInitiated = true

danilo,
@danilo@hachyderm.io avatar

@tomlokhorst huh! It seems so! I wonder why I got convinced the long way of resetting the component was necessary

Updated now, thank you so much for giving it a look

jbrewer_jera, to VisionPro
@jbrewer_jera@mastodon.social avatar
jbrewer_jera,
@jbrewer_jera@mastodon.social avatar

@Migueldeicaza Fortunately I live two towns over. Instead of an entire continent, I just had to cross Sunnyvale.

Migueldeicaza,
@Migueldeicaza@mastodon.social avatar

@jbrewer_jera I am going to watch TikToks on my VisionPro to join you folks spiritually on the fun.

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