Post

Replies

Boosts

Views

Activity

Reply to NSMigrationManager.migrateStore with NSPersistentHistoryTrackingKey
How can I confirm this behavior when migrating using NSMigrationManager? I don't think you need to explicitly checkpoint the store. The Core Data migration process should handle that for you – If it doesn't, I'd see that a framework bug When I enable com.apple.CoreData.MigrationDebug the lightweight migration logs the WAL checkpointing, however, when using NSMigrationManager no such log appears. When I tried inserting 1000 objects, all of them get inserted into the sqlite file. Nothing gets inserted in WAL file. Is the behavior different for NSPersistentCloudKitContainer? Regarding the error, did you try to set up options in the following way: Yes, this works. However, if the NSMigrationManager handles this then should be avoided, right?
Feb ’25
Reply to Set edge effect style in AppKit
I have filed a feedback suggesting that if a user has programmatically set a contentInset on a NSScrollView then they can be given an option to enable/disable edge effect style automatically for the area that is outside the contentInset.
Topic: UI Frameworks SubTopic: AppKit Tags:
Jul ’25
Reply to SwiftUI APIs for macOS app
NSSplitViewController / UISplitViewController don't appear to have an equivalent in SwiftUI. I was asking for the newly introduced feature in AppKit where the detail view in navigation extends below the sidebar as explained in this WWDC 2025 video. I wanted to know, how that can be achieved using SwiftUI's NavigationSplitView. I am not looking for a replacement of NSSplitViewController / UISplitViewController NSToolBar / UIToolbar on the other hand do have an equivalent Toolbar modifier which can be styled. The toolbar style link that you have shared, is for the Toolbar(entire toolbar), I was asking about styling the Toolbar "item" As mentioned in WWDC 20205 video "The prominent style tints the glass using the accent color, which is perfect for displaying state or emphasizing an important action." // Tints the glass with the accent color. toolbarItem.style = .prominent I would like to know how this feature can be used in SwiftUI toolbar?
Topic: UI Frameworks SubTopic: AppKit Tags:
Jul ’25