Today's attempt to fix a bug by rebuilding concave corners did not go well.
Today's attempt to fix a bug by rebuilding concave corners did not go well.
Cork version 1.5.6 is out.
This update includes a complete rewrite of the Homebrew pinning system in Swift for 20x performance gains, pinning from sidebar, manual update checking, and fixes for many crashes.
See https://open.substack.com/pub/corkapp/p/cork-156-out-big-changes?r=2vioyx&utm_campaign=post&utm_medium=web&showWelcomeOnShare=true for more info.
Buy Cork to support its development: https://corkmac.app
Join the Discord community: https://discord.gg/kUHg8uGHpG
See the source code: https://github.com/buresdv/Cork
Here's a shocker from Building a workout app for iPhone and iPad https://developer.apple.com/documentation/HealthKit/building-a-workout-app-for-iphone-and-ipad
import Combine
@Observable final class CountDownManager {
var timeRemaining: TimeInterval = 3
var duration: TimeInterval = 3
private let timerFinishedSubject = PassthroughSubject<Void, Never>()
var timerFinished: AnyPublisher<Void, Never> {
timerFinishedSubject.eraseToAnyPublisher()
}
And the usual heap leak:
@State private var manager = CountDownManager()
SwiftUIKit 6.0 is out! This is a huge clean-up that removes many components that are extracted to separate packages. The future of this package will instead be to extend native types, to make #SwiftUI even more capable. You can read more about this in the release notes.
https://github.com/danielsaidi/SwiftUIKit/releases/tag/6.0.0
New blog post! "Creating amazing loading animations with SF Symbols" shows how to use SF Symbols and the powerful symbols effect to create amazing loading animations for #SwiftUI, without a bunch of custom code.
https://danielsaidi.com/blog/2025/06/19/creating-amazing-loading-animations-with-sf-symbols
Added some accessory buttons for opening the associated page on a streaming service's site, along with a few other minor changes. Tomorrow let's update the order to match the user’s (future) preferences. See you then!
Tomorrow’s stream: https://youtube.com/live/L6olC9I9rZg
Playlist so far: https://www.youtube.com/playlist?list=PLRxjf93xotuofCtaxtGOcWeuxVZYJyY-m
I'm making a seasonal anime guide app, in the open for all to experience and learn from.
Shorter stream today, but let's add season links to the new release set UI on the web!
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush
Come chill with me: https://youtube.com/live/cvHgv7Kq05Q
BadgeIcon 1.2 is out! This is a tiny Swift package for creating #SwiftUI icons that look just like the ones in Settings. This version adds 68 new predefined icons, bringing the total number of predefined icons to 118! It also makes the standard icon builder functions public.
https://github.com/danielsaidi/BadgeIcon
Is @ _disfavoredOverload something we shouldn't use?
In ShapeUp I want to have these two subscripts
rect[RectAnchor.topLeft] -> CGPoint
rect[RelativeCorner.topLeft] -> Corner
but when you use:
rect[.topLeft] it's ambiguous
I want it to default to CGPoint and only use Corner if needed by the context. Is there a better way?
Here is a fun one:
if you have a #SwiftUI customizable toolbar and an optional inspector view, when the inspector becomes visible any optional toolbar items being shown will disappear.
Finally have a way to choose which release set you wanna view dates for on the web! Tomorrow, let's tweak it a bit more and build the same UI within the app. See you then!
Tomorrow’s stream: https://youtube.com/live/cvHgv7Kq05Q
Playlist so far: https://www.youtube.com/playlist?list=PLRxjf93xotuofCtaxtGOcWeuxVZYJyY-m
I guess #concentricity is cancelled? #SwiftUI #UIKit #iPadOS26
So, let's say I have three horizontal views and I want to use the new corner concentric radius. How do I give the middle one, that's not touching any edge, the same radius as the other two?
.background(color, in: .rect(corners: .concentric(), isUniform: true))
I'm making a seasonal anime guide app, in the open for all to experience and learn from.
Let's continue building out the release set chooser for the web!
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush
Come chill with me: https://youtube.com/live/XZ07CUpnyhY
#SwiftUI really should have an autoformatter in Xcode.
PSA: Xcode 26 beta 4 is causing your Mac to kernel panic when using #SwiftUI previews as mentioned in the release notes. Stay on beta 3 if you rely on them. Had 10 of them in 10 minutes.
This is what the #swiftUI glass button style looks like on tvOS 26 beta 4.
Note the weird, off-center focus effect, half-circle instead of continuous rounded corners(!), lack of legibility over the background (way worse in person than in this video), lack of any swipe feedback, and broken text transition when the numeric label changes.
Somehow the glass buttons in Apple’s first party apps don’t have any of these problems. What’s their secret?
How do you set colors to neutral in a SwiftUI List view when the item is selected on macOS? The backgroundProminence environment variable! Pretty good doc about it at Apple, too.
https://developer.apple.com/documentation/swiftui/environmentvalues/backgroundprominence
The following article shows how to build configurable SwiftUI views:
SwiftUI Registration Flow (Validation + Integration with API)
- Form UI
- Validation
- Async API integration
- Clean SwiftUI architecture
Watch now and level up your iOS skills!