Posts

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

cdf1982, to AdobePhotoshop
@cdf1982@iosdev.space avatar

🥳 #app announcement:

PupperPost provides a super-nice experience for #blogging: from idea to a post you own in no time and without fuss, easily customizable, extremely nice UI on all Apple platforms, and especially great on the Mac.

When I'll get around blogging more, which is something I really want to do 🥺, PupperPost will be my home!

Cherry on top? Made by a #indie who's also an all around good guy. Spread the word!
https://mastodon.social/@Aaronvegh/112504652454854211

cdf1982, to random
@cdf1982@iosdev.space avatar

I love and have always loved and respected President Biden, but this post won’t age well
https://www.threads.net/@potus/post/C6ud3TgrqKh

santiago,
@santiago@masto.lema.org avatar

@cdf1982 I was curious and I clicked. What shocked me most wasn’t the post.

The comments: So much anger about everything + conspiracies. I wasn’t used to this anymore. I see Threads is indeed a Twitter replacement !

cdf1982, to random
@cdf1982@iosdev.space avatar

@grumpygamer The “+” in Return to Monkey Island+ for Apple Arcade means there's something more to the game? 🤞🤞

grumpygamer,
@grumpygamer@mastodon.gamedev.place avatar

@cdf1982 We did implement iCloud saves... does that count?

brandonhorst,
@brandonhorst@techhub.social avatar

@cdf1982 @grumpygamer That’s very common for Apple Arcade games, the majority of them have a plus.

cdf1982, to random
@cdf1982@iosdev.space avatar

@jamesthomson Hi James! A couple quick things:

a. Oh God what have you unleashed on the world of podcasts will hunt us forever.

b. A quick pointer on what did you use, so I can ravage other worlds myself, pretty please? 🥺

jamesthomson,
@jamesthomson@mastodon.social avatar

@cdf1982 It was suno.ai :)

cdf1982, to random
@cdf1982@iosdev.space avatar

If I were Apple I would be near the point where I’d scratch the CTF, open side loading to the point that alternative app stores aren’t even needed, preinstall all alternative browsers and pull Apple Music from the EU.

Then I’d raise iPhone prices 5% in the EU markets as a cost for software customizations for #DMA.

mackuba,
@mackuba@martianbase.net avatar

@cdf1982 That could honestly be the best solution for everyone

cdf1982, to random
@cdf1982@iosdev.space avatar

I'm so good at focusing on what truly matters during early-ish development cycle

video/mp4

santiago,
@santiago@masto.lema.org avatar

@cdf1982 I was kind of expecting for the camera to point at me and show a threatening red dot 😂

cdf1982, to random
@cdf1982@iosdev.space avatar

“Apple leadership worried the profit margins simply wouldn't be there.”
It’s the freaking car business, of course the margins aren’t there. https://mastodon.social/@arstechnica/112005573743497853

cdf1982, to random
@cdf1982@iosdev.space avatar

I completely missed that #SwiftData can natively sync with #CloudKit.

Do I know anyone who has experience with it?

I've been pretty happy with CoreData + CloudKit (NSPersistentCloudKitContainer), but in a new SwiftUI app it seems reasonable to at least look at it.

StewartLynch,
@StewartLynch@iosdev.space avatar
cdf1982,
@cdf1982@iosdev.space avatar

@StewartLynch Thank you! Fun fact: I already had the tab open :)

cdf1982, to random
@cdf1982@iosdev.space avatar

Happy birthday, Mac. Keep on smiling! #mac40th

📝 https://cdf1982.com/2024/01/23/happy_40th_birthday_mac.html

cdf1982,
@cdf1982@iosdev.space avatar

I am very disappointed in apple.com. #mac40th

chrishannah,
@chrishannah@fosstodon.org avatar

@cdf1982 Everyone: The Mac is 40!
Apple:

cdf1982, to swift
@cdf1982@iosdev.space avatar

#Swift LPT: I’ve often seen iOS apps where customising icons is possible, but the first time it requires a reboot of the iPhone to show the change; then, any subsequent variation is immediately applied.

Today I've implemented custom icons following this 💚 gist but ended up with the same behavior: https://github.com/jknlsn/XCode13-Alternate-App-Icons

Turns out ™ I did overlook an important piece that was mentioned:

👉 “Double click on Alternate App Icon Sets and type in the names of your alternate app icons assets”

cdf1982, to random
@cdf1982@iosdev.space avatar

21 days, I lasted exactly 21 days...

https://iosdev.space/@cdf1982/111327011368893864

santiago,
@santiago@masto.lema.org avatar

@cdf1982 Resistance is futile

cdf1982, to random
@cdf1982@iosdev.space avatar

So, if you’re in Italy and want to buy a M1 Air 16GB 2TB with residual 8 months of AppleCare+...

https://www.ebay.it/itm/285554960506

cdf1982, to AppleInc
@cdf1982@iosdev.space avatar

Do I know any #watchOS developer?

I am entertaining an idea, but I'm not sure how doable and reliable it would be with #WatchConnectivity:

SwiftUI iOS app in background, inactive.

watchOS app is activated and user selects a value from list.

Selection triggers a message to the iOS app, which should wake up and perform a task (using a library that cannot be available on watchOS).

Result of phone operation is a small PNG that needs to be messaged back to the Watch for displaying.

1/2

cdf1982,
@cdf1982@iosdev.space avatar

My understanding is that:

  • watchOS should be able to reliably wake up the phone, if reachable;

  • If not reachable, it would be reasonable for the watchOS app to inform the user it cannot work atm;

What I’m not sure about is how long the back & forth would take, considering the phone operation is already asynchronous and depends on networking (let's say, an average of 5s for the operation itself to complete).

-> Can I assume the blob would be messaged back right away in most cases?

2/2

lextar,

@cdf1982 I found out that the first WCSession.sendMessage call often returns a .notReachable error. So I try up to three times with a delay of 500ms between each call. The second call usually works.

Here's a gist of my code. It contains the code to retry the request and a "Request" class, which is a mechanism to cancel the retries:

https://gist.github.com/blach/27b1069bc8a42cf7e7573d20ba4435ca

cdf1982, to random
@cdf1982@iosdev.space avatar

I don’t know if I’m more annoyed by the fact that I was able to avoid it this far and now I got it, or that I’m testing positive the morning I had my vaccine scheduled.
Sore throat, low fever, I’m fine.

santiago,
@santiago@masto.lema.org avatar

@cdf1982 Congratulations on compensating for all the negativity !

cdf1982,
@cdf1982@iosdev.space avatar

@santiago A positive outlook is important! Maybe on everything else but this, if I could choose, but hey, I've never felt really bad so, I should really stay positive ;)

cdf1982, to SwiftUI
@cdf1982@iosdev.space avatar

I painted myself in a #SwiftUI corner…

If you look at this sample project, you'd say it works. Truth is, dots lie!

When rows changes, “real” views aren't redrawn!

So, a grid of items has duplicates: those not updated by the 1st ForEach.

And that’s ForEach expected behavior reading iOS 13b5 release notes: “you shouldn’t pass a range that changes at runtime…. displays views according to the initial range and ignores any subsequent updates to the range”.

Plz help my dead 🧠 find a workaround 🥺

video/mp4

ctietze,
@ctietze@mastodon.social avatar

@cdf1982 @Alexbbrown Can you change the Gist's code to something that shows what is breaking, and where to click? I just now read that you wrote "dots lie", so the fine-looking example with the colored circles seems to not show the problematic behavior?

But what is the problematic behavior? :)

cdf1982,
@cdf1982@iosdev.space avatar

@ctietze @Alexbbrown You're absolutely right. I need to figure out a different experiment example, because mine relies on RTSP streams and is hardly shareable. I'll think of something with images or some other view.

Thank you for looking into this!

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