#AppKit #UIKit #CollectionView
Any (NS/UI)CollectionView fans here? I’m trying to make a good collection view UI. It is just a simple flat scrolling column of things, should be simple layout.
I want the cells to size themselves to the SwiftUI content in them, which they almost do, but not when I resize the window and things start to wrap differently.
What am I missing? How should I make the heights respond better to window resizing?
Code: https://gist.github.com/jaanus/66e3d863941ba645c88220b8a22970e1
8.3.2025 13:04#AppKit #UIKit #CollectionViewAny (NS/UI)CollectionView fans here? I’m trying to make a good collection view UI. It is just a simple flat...Whining about Xcode and Apple tools quality
Turns out that sometimes Xcode messes up its internal intermediate state so badly that even manually clearing DerivedData does not help
The solution is to manually create a new DerivedData folder and point Xcode to it, and then all works
What clown show is this 🤡
5.3.2025 11:06Whining about Xcode and Apple tools qualityTurns out that sometimes Xcode messes up its internal intermediate state so badly that even...Has anyone seen this on macOS?
There are some unkillable files in my Trash
When I try to empty trash, I got these errors about them being in use
I booted my Mac into safe mode, and tried to remove them in the recovery terminal, but then I got some errors about resource deadlocks, and could not remove them there either
How do I get rid of these
5.3.2025 10:25Has anyone seen this on macOS?There are some unkillable files in my TrashWhen I try to empty trash, I got these errors about them being in...Whining about Xcode and Apple tools quality
Welcome to another day of Xcode hell of nonsensical errors
5.3.2025 09:01Whining about Xcode and Apple tools qualityWelcome to another day of Xcode hell of nonsensical errorsI turned on Advanced Data Protection for my iCloud account
The UX was a bit of a shit show, as is common for Apple security related things
The last step was to enter my passcode, and Settings was then stuck in this view for about two hours, with zero indication of status or progress
Finally I got the success screen and I guess it worked
I would really have appreciated more progress indication and feedback
28.2.2025 13:48#Apple #iCloud #Security #uxI turned on Advanced Data Protection for my iCloud accountThe UX was a bit of a shit show, as is common for...This is the nerd stuff that I am here (on Mastodon) for
Kind of esoteric but with a very real and visible application
TIL: QR codes can be encoded in different ways. URLs with only uppercase letters use a more compact encoding that results in fewer bits, less entropy, and larger visible blocks
https://mastodon.social/@Edent/114053225122484174
When you have a bunch of domains, how do you do email forwarding for them in the most sane way?
I just want some specific email addresses in each domain like info@ to be forwarded to some other address, without setting up a full email system for each domain.
There are some services like https://improvmx.com that do this, but all appear US-based, I didn’t find any EU ones
I could also set it up in my own server with Postfix? But email deliverability is hard and messy
22.2.2025 11:01#Hosting #EmailWhen you have a bunch of domains, how do you do email forwarding for them in the most sane way?I just want some specific...Who can recommend me a EU app hosting provider?
Something like DigitalOcean, with roughly the same features and prices, but EU owned
Yes DO has EU sites but it is still a US company, I don’t want that
I need to host some web sites and apps at a tiny scale, with options to scale up
20.2.2025 05:54Who can recommend me a EU app hosting provider?Something like DigitalOcean, with roughly the same features and prices, but EU ownedYes DO...#Apple #Privacy #Security #Politics #iCloud #CloudKit
Some developers have recently questioned their relationship with Apple platform, technology, and company.
Here is my take, looking at it from the angle of (cloud) privacy.
Which side are you on, Apple?
https://jaanus.com/which-side-are-you-on-apple/
19.2.2025 09:57#Apple #Privacy #Security #Politics #iCloud #CloudKitSome developers have recently questioned their relationship with Apple platform,...Yeah, Combine is soft-deprecated, on its way out, whatever
And ObservableObject is old
Am I a fool for still reaching for them when I need to do something like this? Have a raw and debounced versions of a property, both gettable, settable, and observable as needed, both in SwiftUI and anywhere else
And the code is pretty tight I think
How would you do this, say, in the new Observable world without Combine?
18.2.2025 09:32#Swift #SwiftUI #Combine Yeah, Combine is soft-deprecated, on its way out, whateverAnd ObservableObject is oldAm I a fool for still reaching...Xcode bug report: when you rename something with Xcode’s rename refactoring, call sites can be missed if they are gated by OS gates
Xcode 16.2
No I will not file any feedbacks or radars, this post is my bug report
17.2.2025 09:47#Xcode #bug Xcode bug report: when you rename something with Xcode’s rename refactoring, call sites can be missed if they are gated by OS...I keep working on this chat app.
It is commercially pointless, but it brings me great joy, fulfilment, and satisfaction. https://iosdev.space/@tact@indieapps.space/113995459315586719
13.2.2025 07:46I keep working on this chat app.It is commercially pointless, but it brings me great joy, fulfilment, and satisfaction....Whining about useless SwiftUI preview error
Okay that’s really cool to know, Xcode
Too bad it contains zero useful information for me, or any steps that I could take to fix this
I really have no idea, nor do I care, what are “JIT runmode”, “target descriptions”, and “agent”
30.1.2025 15:47Whining about useless SwiftUI preview errorOkay that’s really cool to know, XcodeToo bad it contains zero useful information for me, or...Today’s WTF of the day. Was debugging a problem where a Combine-Publisher-driven view was working in macOS SwiftUI preview but not iOS SwiftUI preview (but it WAS working in the actual app). Ended up with this outcome with LLM. I am not sure how correct and idiomatic it is, but it seems to be working.
“This is a known SwiftUl behavior where sometimes views need an intermediate container to properly handle updates” is it actually known? I did not know it.
27.1.2025 08:48#SwiftUI #LLM Today’s WTF of the day. Was debugging a problem where a Combine-Publisher-driven view was working in macOS SwiftUI preview...Do you think that there will ever be a Europe-based smartphone platform?
By “Europe-based” I mean that the entire stack, including software and services, would be owned, designed, and operated in 🇪🇺
I am getting tired of both American crap and Chinese crap
23.1.2025 08:48Do you think that there will ever be a Europe-based smartphone platform?By “Europe-based” I mean that the entire stack, including...Rant about Xcode
After working for many days with Flutter tools, I thought that I would do something else in an Apple platforms project with Xcode
I would like to work on some UI that’s built in SwiftUI
The preview of this view is just not coming up. The preview canvas is blank. Xcode says “Preparing Editor Functionality” forever
Previews for some other views do come up, but not the one which I need right now
No, this is not quality software and platform
23.1.2025 08:40Rant about XcodeAfter working for many days with Flutter tools, I thought that I would do something else in an Apple platforms project with...Will Mastodon or @ivory ever fix the thing where my app does not show me any replies on a post, but when I open the link to the post and see it in the browser on the original server, it has a bunch of replies
22.1.2025 04:30Will Mastodon or @ivory ever fix the thing where my app does not show me any replies on a post, but when I open the link to the post and see...Filed a bug: https://github.com/flutter/flutter/issues/161973
21.1.2025 20:25#Flutter Filed a bug: https://github.com/flutter/flutter/issues/161973Today I spent several hours debugging a Flutter layout issue in a fairly involved layout with a scrollview + column + flex
I was getting a nonsensical 1- or 2-pixel render overfow in the scroll direction
What I found: there was a Unicode arrow character in text in a different widget that wasn’t close to the overflow site
But it is 100% this one Unicode character that was causing the render overflow error
I wonder if I should isolate the case and file a Flutter bug?
20.1.2025 15:33#FlutterToday I spent several hours debugging a Flutter layout issue in a fairly involved layout with a scrollview + column + flexI was...I wish I could screenshot or photograph things in my dreams to transfer them to my real consciousness
This morning in my dream, I had one sheet of clearly printed paper with a simple table of some epic knowledge about who and why we are. Management, politics, psychology. It was some Newton and Einstein level shit. I could fix the world with it
I even started to transcribe it in my dream because I knew I wanted to keep it
And… poof. All gone
The world remains broken
15.1.2025 04:48I wish I could screenshot or photograph things in my dreams to transfer them to my real consciousnessThis morning in my dream, I had one...