@hishnash@mastodon.cloud
@hishnash@mastodon.cloud avatar

hishnash

@hishnash@mastodon.cloud

Data Scientist, #Python and #SwiftLang, macOS/iPadOS app developer 🇳🇿

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

hishnash, to SwiftUI
@hishnash@mastodon.cloud avatar

Reacting to network status changes in SwiftUI doesn't have to be complicated. By converting NWPathMonitor into an AsyncSequence, you can handle updates efficiently and cleanly within your views. Discover how in my latest post:

https://nilcoalescing.com/blog/ReactToNetworkStatusUpdatesInSwiftUI/

stroughtonsmith, to random
@stroughtonsmith@mastodon.social avatar

I think with Apple's latest changes to the Core Technology Fee, we're starting to see some of the elements that might actually work when all's said and done. Specifically, developers self-reporting company revenue — I think the only way to make the CTF fair is to have a flat fee, per year, that scales based on how much money your company makes. If you make $0, you pay $0. If you're Spotify, you pay $Ms. That takes away Apple's per-install tracking; devs don't need a nanny, they need a partner

hishnash,
@hishnash@mastodon.cloud avatar

@stroughtonsmith I think per install is find as long as it is capped based on EU revenue. If you're a huge company but you just want to ship a small app for a tiny market on the side you should not pay the same as Meta.

hishnash, to random
@hishnash@mastodon.cloud avatar

I’ve just published a post on how we can wrap the result of withObservationTracking() function from Observation framework into an AsyncStream. This lets us use an async for loop to iterate over changes: https://nilcoalescing.com/blog/AsyncStreamFromWithObservationTrackingFunc/

stroughtonsmith, to random
@stroughtonsmith@mastodon.social avatar

Apple's whole App Store model, which defines a huge chunk of the modern world, relies on a chain of trust and safety based on individuals internal to Apple, with no external oversight. What happens when a future Apple CEO, or head of App Store, decides to act inappropriately, anticompetitively, or maliciously, or to put in place structures that disadvantage some developers in favor of others (or Apple)? This is why regulation and external accountability is essential

https://www.macrumors.com/2023/10/18/app-store-employees-fired-china/

hishnash,
@hishnash@mastodon.cloud avatar

@stroughtonsmith does app review have any influence over App Store editorial? I expect these are seperate teams no?

I assume the reason you would bribe app review team is to try to get your app through review even through you are breaking some rule (asking for CC cards or something like that).

alexkidman, to apple
@alexkidman@aus.social avatar

Good news! There's a new Apple Pencil -- and it's cheaper!

Bad news: I can't work out who is actually going to buy it...


https://alexreviewstech.com/who-is-the-apple-pencil-usb-c-for/

hishnash,
@hishnash@mastodon.cloud avatar

@alexkidman people who are currently buying the first gen pencil when apple stops selling the first generation pencil.

stroughtonsmith, to random
@stroughtonsmith@mastodon.social avatar

I think if any platform qualifies under DMA rules, all of that company's other platforms and products should automatically qualify too. No gaming the system by artificially keeping sales capped. If iOS is subject to DMA rules, iMessage, iPadOS, visionOS — the lot — should too. This should be a tool used to convince companies to build all their products and ecosystems in an extensible, regulated, competition-friendly way, with oversight and accountability

hishnash,
@hishnash@mastodon.cloud avatar

@stroughtonsmith That's an interesting move but would it not activity push companies to not expand into new product areas.

The reason there is a threshold for this is that it does create a rather large extra burden.

I think the only way that would be fair is if the threshold is computed then across all users on all products (not having a single product over the threshold impacting all products).

hishnash, to swift
@hishnash@mastodon.cloud avatar

Has anyone found a good Codable lib that reads and writes raw bytes to file, currently I have gone down the path of creating my own UnsafeCodable that operates on raw pointers.

hishnash,
@hishnash@mastodon.cloud avatar

@finestructure That does look powerful, I love the nice declarative interface.

viticci, to random
@viticci@macstories.net avatar

Widget games on the Home Screen are not what I expected we'd publish on MacStories for iOS 17's release and yet here we are:

Widgle’s Four Photo-Based Widget Games Deliver Simple, Fun Interactive Diversions https://www.macstories.net/reviews/widgles-four-photo-based-widget-games-deliver-simple-fun-interactive-diversions/

hishnash,
@hishnash@mastodon.cloud avatar

@viticci Yer there are a lot of fun things you can do with the new APIs

We added a drawing canvas widget to Exsto that lets you create abstract ART directly from your Home Screen, I find it very Zen to take a few moments and add some strokes.

https://exsto.app

hishnash, to random
@hishnash@mastodon.cloud avatar

I was very happy to find that in iOS 17 and iPadOS 17 we can use ControlGroup in context menus in to show a horizontal strip of action buttons. This didn’t work before!

https://nilcoalescing.com/blog/ControlGroupInContextMenus/

hishnash, to random
@hishnash@mastodon.cloud avatar

In macOS 14, iOS 17 and iPadOS 17 we now have a new inspector() modifier in ! It presents a non-modal inspector view 🥳

hishnash,
@hishnash@mastodon.cloud avatar

@krzyzanowskim That appears to just be a previews issue running the app correctly shows the window header

hishnash, to random
@hishnash@mastodon.cloud avatar

We are adding IAP buttons in the next update to our app Exsto and noticed a visual glitch in our button pressed state: the transparent layers weren't blending correctly by default. We fixed it by applying compositingGroup() to the ZStack in the button label.

More details in the blog: https://nilcoalescing.com/blog/CompositingGroupInButtons/

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