At some point Safari on iOS started sharing images when long-pressing and choosing "Share…” as a URL to the remote image instead of the image itself and surprisingly all most all apps I checked don't handle it well. They treat it like a URL instead of an image (which is what @artifacts does too). Debating whether to try and detect it's an image based on the extension and download it, or leave broken like most other apps do
28.3.2025 00:56At some point Safari on iOS started sharing images when long-pressing and choosing "Share…” as a URL to the remote image instead of...This screen started out as displaying a single item, so my first instinct was to add some drag gestures and manually load the next/previous item on drag. But then I kept needing to add more stuff to handle cases when scrolling quickly and eventually realized I was recreating a collection view from scratch. So I ended up just using a horizontally scrolling UICollectionView with paging enabled where each item was the size of the screen and worked perfectly
27.3.2025 14:18This screen started out as displaying a single item, so my first instinct was to add some drag gestures and manually load the next/previous...Coming in the next @artifacts update, you can now (finally) swipe between items in the detail view. Added some nice touches like animating between the backgrounds and scrolling the collection view in the background so it will swipe down to the correct item
27.3.2025 14:06Coming in the next @artifacts update, you can now (finally) swipe between items in the detail view. Added some nice touches like animating...Wrote up a blog post about using AnyShapeStyle in SwiftUI which has tripped me up in the past
https://zachwaugh.com/posts/swiftui-tip-using-anyshapestyle
26.3.2025 13:41Wrote up a blog post about using AnyShapeStyle in SwiftUI which has tripped me up in the past...TIL about geometryGroup in SwiftUI - https://fatbobman.com/en/posts/mastring-geometrygroup/ Fixed a weird animation bug I was having where I was animating a view and some subviews weren’t animating with the rest of the view
19.3.2025 16:17TIL about geometryGroup in SwiftUI - https://fatbobman.com/en/posts/mastring-geometrygroup/ Fixed a weird animation bug I was having where I...Anyone know if it's possible to determine when a zoom transition in SwiftUI is actively presenting or dismissing?
13.3.2025 21:21Anyone know if it's possible to determine when a zoom transition in SwiftUI is actively presenting or dismissing?Another example, makes me think I'm fundamentally misunderstanding how clipping is working here
8.3.2025 16:10Another example, makes me think I'm fundamentally misunderstanding how clipping is working hereCurious if anyone knows the right SwiftUI fix here. I'm trying to overlay a border on a shape with the same corner radius, but they don't match exactly. There's some bleeding in the corners, but not the edges. Here's a simplified example
```
ZStack {
Color.purple
}
.clipShape(.rect(cornerRadius: 12))
.overlay {
RoundedRectangle(cornerRadius: 12)
.strokeBorder(.white)
}
```
I'm making a new app where the core of it is Metal (which I don't know at all) so I'm trying an AI first approach, and it's suprisingly working pretty well. This was an app where the activation energy to get the basics working was high enough where I never bothered until I could have an LLM get a first draft going.
7.3.2025 14:09I'm making a new app where the core of it is Metal (which I don't know at all) so I'm trying an AI first approach, and it's...Hmm, up to 8 hours of planned downtime tomorrow for App Store Connect, standard maintenance or are we getting some big improvements?
28.2.2025 17:49Hmm, up to 8 hours of planned downtime tomorrow for App Store Connect, standard maintenance or are we getting some big improvements?In SwiftUI on iPad, List with .sidebar style will render differently based on the layout (i.e. - split view vs full-screen). Anyone know how to detect that state? I need to change some UI based on how it is rendering
28.2.2025 01:30In SwiftUI on iPad, List with .sidebar style will render differently based on the layout (i.e. - split view vs full-screen). Anyone know how...Getting close now, finally implementing the designs @jordanborth had there from the beginning. Next @artifacts update with a nice batch of UI improvements and collection icons should be ready in the next few days
https://mastodon.social/@jordanborth/114074026756169998
I'm so annoyed with NavigationSplitView that I'm spiking replacing my main app content view with a UIViewControllerRepresentable and UISplitViewController. Today I discovered it seems like you can't use it at all on iPhone unless you use List AND have a selection binding?
22.2.2025 21:27I'm so annoyed with NavigationSplitView that I'm spiking replacing my main app content view with a UIViewControllerRepresentable and...We have this view in @artifacts which is pretty standard, but curious how you would implement the selection in SwiftUI. Right now, the parent knows the selection state and passes in `isSelected` to the child view. I’m wondering though if it would be more idiomatic to pass isSelected through the Environment? I’ve realized I don't rely on the environment enough
22.2.2025 17:50We have this view in @artifacts which is pretty standard, but curious how you would implement the selection in SwiftUI. Right now, the...I may be looking for a new role soon iOS and/or macOS, remote and preferably early stage. Please reach out if you know anything interesting! I’d also be open to part-time arrangements that left some room open to work on my own stuff.
18.2.2025 15:35I may be looking for a new role soon iOS and/or macOS, remote and preferably early stage. Please reach out if you know anything interesting!...And let this be my constant reminder to add OpenGraph images to your site, but if you're not going to do that, at least add some higher resolution favicon versions
17.2.2025 23:23And let this be my constant reminder to add OpenGraph images to your site, but if you're not going to do that, at least add some higher...Working on improvements to link previews in @artifacts. For links without open graph images, it was pretty boring before. @jordanborth came up with getting the best icon we can from the site and use that with the average color. Really liking how this looks, in a few cases looks nicer than the open graph image
17.2.2025 23:21Working on improvements to link previews in @artifacts. For links without open graph images, it was pretty boring before. @jordanborth came...Xcode tip: When Xcode keeps telling you there is an error and showing completely irrelevant things that aren't actually errors. The real, true, honest-to-god error is probably shown in the logs for the last build. No clue why it's impossible for Xcode to get this right
17.2.2025 19:20Xcode tip: When Xcode keeps telling you there is an error and showing completely irrelevant things that aren't actually errors. The...Custom icons for collections coming in the next @artifacts update. This has been on the todo list since the very first designs but just haven't had a chance to implement it
15.2.2025 18:35Custom icons for collections coming in the next @artifacts update. This has been on the todo list since the very first designs but just...Would be an obvious place to use an LLM, especially for images, and I wish Apple provided a local model we could use to keep it all on the device
13.2.2025 16:38Would be an obvious place to use an LLM, especially for images, and I wish Apple provided a local model we could use to keep it all on the...