#SWIFT

Ashish Kakkadashishkakkad
2025-06-15

Curated list of post for week from my blog.

How to create Liquid Glass Button in SwiftUI? - ashishkakkad.com/2025/06/how-t

How to adopt Liquid Glass in UIButton in Swift? - ashishkakkad.com/2025/06/how-t

Which are the new frameworks in Xcode 26? - ashishkakkad.com/2025/06/which

How to create Liquid glass for custom view in Swift? - ashishkakkad.com/2025/06/how-t

I will keep posted, follow me for get more updates! Thank You.

Paul-Vincent Roll (he/him)paul@whisper.tf
2025-06-14

My Relationship Menu app now finally supports filtering items by search! You can join the beta here: testflight.apple.com/join/4drm

I would love to add a mode that allows filtering by mode but I haven't figured out how I can add a button after the search field yet in #SwiftUI unfortunately.

#Swift #iosdev #relationships #polyamory #nonmonogamy #monogamy

Screenshot the relationship menu app interface showing a new search bar at the top, allowing users to filter items. The user has typed โ€œCommunโ€. A segment control allows choosing the search scope to items, categories or both.
Dimitri Bounioldimitribouniol
2025-06-14

Fixed an issue with AcmeSwift that prevented renewals, and added better reporting to both the apps and server side. Tomorrow, let's prep a refreshed summer icon. See you then!

๐Ÿ”œ Tomorrowโ€™s stream: youtube.com/live/TMF1q0yH64o
โฎ๏ธ Playlist so far: youtube.com/playlist?list=PLRx
๐Ÿ“ฒ Download Jiiiii: apps.apple.com/app/apple-store

RTL Nieuwsrtlnieuws
2025-06-14

๐—Ÿ๐—ถ๐˜ƒ๐—ฒ๐—น๐˜† ๐˜„๐—ถ๐—น ๐˜ƒ๐—ฒ๐—ฟ๐˜‡๐—ผ๐—ฒ๐—ธ ๐˜ƒ๐—ฎ๐—ป ๐—•๐—ฎ๐—น๐—ฑ๐—ผ๐—ป๐—ถ ๐—ผ๐˜ƒ๐—ฒ๐—ฟ ๐—ฆ๐˜„๐—ถ๐—ณ๐˜ ๐˜ƒ๐—ฎ๐—ป ๐˜๐—ฎ๐—ณ๐—ฒ๐—น ๐—ถ๐—ป ๐—ฟ๐—ฒ๐—ฐ๐—ต๐˜๐˜€๐˜‡๐—ฎ๐—ฎ๐—ธ

Blake Lively heeft de rechter in haar zaak tegen Justin Baldoni gevraagd om te stoppen met het onderzoeken naar de communicatie die zij had met Taylor Swift. Die berichten zouden niet relevant zijn voor de zaak, stellen de advocaten van de actrice volgens Amerikaanse media.

rtl.nl/boulevard/artikel/55138

Thomas Kalhรธj ClemensenThomasCle
2025-06-14

โœจSwift 6.2 โœจ

SE-0481 is introducing "weak let" to Swift 6.2!

That will allow us to create immutable weak references that can't be reassigned after initialization, but can still become nil when the referenced object is deallocated.

This is a game-changer for Sendable compliance (weak var can't be Sendable, but weak let can!) ๐ŸŽ‰

github.com/swiftlang/swift-evo

2025-06-13

By way of follow-on, Cursor wrote me a function that uses type checks to decide which conditional branch to call.

Junior Dev Cursor, let me tell you about polymorphism, my friend.

This is the kind of thing that may get covered in a Object Oriented Programming 201 kind of course: If you're branching on type, this is screaming out for an interface/protocol/class family.

OO 310 will teach you: don't create too many families or families that are too deep or ouch time. Sometimes, composition works better than inheritance. Choose wisely. This decision requires judgement (hence experience).

#swift #swiftui #ai #cursor #devtools

2025-06-13

If you're a professional dev, bear with me. There's a good chance that you'll see this post as god damn heresy.

If you've been a dev for any significant amount of time, you understand that change is the nature of our field. Alan Kay famously remarked that the technologies and practices grow faster than education: that, inevitably, our field has become a pop culture. I buy that.

For that matter, the pop culture, later in my career, and the peer pressure and hamster wheel of learning the "new hotness" every god damn time pushed me to the point where switching into management seemed the only reasonable recourse (though not the only reason I did).

But I digress. My point is this: AI dev tools are, now, fucking impressive.

For context: I've been a software engineer for just shy of 30 years now (yes, ok, I'm including my 5 year stint as a manager in there as well). I'm not going to claim that I'm an "S" tier developerโ€”though I've had the fortune to get to know several and work with a small handful over the years. These people helped me to get to what is maybe an "A" class.

I say this to attempt to establish my bonafides before I go further.

I've been test driving Cursor, a VS Code-based editor + SaaS that taps into several different LLMs across many different vendors.

As of about a month ago, I'd never touched Swift in my life.

Over the past several weeks, working only with ChatGPT XCode integration, one file at a time, I slowly built out a prototype of an iOS app that works. It wasn't built according to Apple HID guidelines and tips. And ChatGPT XCode integration is only able to see and edit a single file at a time (a massive limitation). I have a deep background in imperative languages both strongly (C, Java back when it was so painful to work inโ€”'96 through '04) and loosely typed (so very very much Ruby).

And then, late last week, I started trying Cusor.

Today, I had Cursor modify the UI to adhere to Apple's design tips (developer.apple.com/design/tip).

Holy. Fucking. Shit.

My app went from looking serviceable to something resembling a realโ„ข๏ธ iOS app in the period of a few minutes.

Sometimes, AI's code factoring leaves something to be desired, certainly. It'll do some squirrelly shit.

That's fine. I treat it like it's a junior developer. I ask it to do the tasks that I would either bore me to tears or would cause this ADHD brain to introduce all sorts of stupid bugs by way of typos and the low dopamine of necessary tedium.

**And then code review the F out of its work**

I ask for specific refactors. And the refactors look pretty damn good.

Even still being a Swift nooblet (I'll freely admit it), I know plenty about programming languages in general (and am learning Swift by example here quickly enough) that I can see opportunities to DRY, to reduce ceremony, and to express intent more clearly.

For instance, today, I saw 3 structs that were being used similarly and with essentially duplicative code. Blech. In Java, I would've used a shared Interface and passed the objects around that way. I forgot my Objective-C, learned over a decade ago, from writing a Pivotal Tracker iPad app. What I needed was a Protocol. I told Cursor what I wanted, to treat the structs in a polymorphic-ish way, so that I could DRY the code, have my One Method to handle them (thankfully, no special casing to care about here so nice and cleanly too). It immediately said, "Oh, I need a Protocol", wrote one, wrote the method, modified the UI accordingly and wham, bam, thank you, ma'am, refactored UI code that deleted lines.

Yes, the AI did this. Yes, I guided it from a place of experience.

Bitch about how clueless LLMs are about our work. Sure, unlike Junior Devs, you can't teach an LLM more than its already capable of (and that is part of the fun of working with Juniorsโ€”watching those lightbulbs turn on and having them rock your world when they see something that you can't because of all of your earned biases). However, the LLMs out now? They make pretty darn good pair programmers, if you give them half a chance.

And Cursor is pretty f'ing impressive. And it is one of the earliest arrivals.

We live in interesting times...

DISCLAIMER: I have *NO TIES WHATSOEVER* to Cursor. I'm not even a paying customer yet (though that may change).

#swift #swiftui #ai #cursor #devtools

Konstantin ๐Ÿ”ญiamkonstantin
2025-06-13

Confirmed - Swift 6.2 is the one ๐Ÿงก. Very โ€œapproachableโ€, very demure, very mindful

2025-06-13

.buttonStyle(.glassProminent) is missing in this beta of Xcode right? It's talked about in the Build a SwiftUI app with the new design session.

#swift #liquidglass #ios26

Dimitri Bounioldimitribouniol
2025-06-13

Took today to write up daily reports so I know how the service is being used. Tomorrow, let's jump into new feature development for marking the best shows of a season. See you then!

๐Ÿ”œ Tomorrowโ€™s stream: youtube.com/live/vVLZEGea2VI
โฎ๏ธ Playlist so far: youtube.com/playlist?list=PLRx
๐Ÿ“ฒ Download Jiiiii: apps.apple.com/app/apple-store

Andriy Fedinandriyfedin
2025-06-13


A multiline string can be indented to match surrounding code. Whitespace before closing quotation marks (โ€œโ€โ€) tells Swift what to ignore before other lines. Additional whitespace at the start of a line is included.

Steven G. Harrisstevengharris
2025-06-13

The biggest news for me out of the new OS releases
developer.apple.com/documentat

Tim De Jongtjadejong
2025-06-13

Some weird behavior with swift Set ...

I have a type that I conform to hashable in an extension. However when I want to the substracting operation to calculate the differences between sets it says this operation is not available.

the swift documentation says the type needs to be hashable only... so anyone an idea what's happening here?

Dawiscodawisco
2025-06-13
Tim De Jongtjadejong
2025-06-13

I'm loving the new @pointfreeco SharingGRDB framework! It's so much better to work with value-type models than reference-type models.

In the code below I'm migrating from SwiftData to SharingGRDB. First I put the creation of the Weight.Draft inside the async block below. This gave me an error because the SwiftData models are not sendable. The SharingGRDB models are so the fix was so simple :)

Swift code migrating SwiftData models to a SharingGRDB database
Romansfilmak
2025-06-13

I just discovered the mention of iOS 19 in the Xcode 26 Beta. It seems like the name change was made at the last minute.

2025-06-12

Aaarrrg. MacOS keychain is giving me fits today.

I just want to copy an item out of the keychain, and fail if the user would need to authenticate. SecItemCopyMatching keeps raising the "<a program> wants to make changes in your keychain" dialog, even though:

1. I'm not modifying anything, and
2. I have added the kSecUseAuthenticationUI key set to kSecUseAuthenticationFail to the query
3. I also tried creating an LAContext with interactionNotAllowed set

looking on the internet, all I see is people using approach number 2 or 3 successfully.

#swift #macos #cocoa #programming

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst