Post

Replies

Boosts

Views

Activity

Reply to Xcode 14 Beta 3 Core Data Model Editor Style
This is a screenshot from Apple’s online documentation related to Core Data. It clearly shows the editor’s style buttons. It doesn’t make sense modelling a large object model by simply working a relation from an entity then going to the other entity and creating a relation and going back to the previous entity to make sure the relationship is correct. The WYSIWYG editor is the tool needed.
Jan ’23
Reply to How can I present .formSheet on iPad with SwiftUI
As shown in the documentation, you could use .presentationDetents on .sheet because default is large. The example is: struct ContentView: View { @State private var showSettings = false var body: some View { Button("View Settings") { showSettings = true } .sheet(isPresented: $showSettings) { SettingsView() .presentationDetents([.medium, .large]) } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’23
Reply to Core Data externally stored binary data not deleted with record
Hi ! You will have to override -didSave in your image managed object subclass and do the deletion of the file. See the following discussions: https://stackoverflow.com/questions/17769595/the-best-practice-for-deleting-core-data-items-where-path-is-stored-as-text-and https://stackoverflow.com/questions/5073113/how-to-handle-cleanup-of-external-data-when-deleting-core-data-objects
Feb ’23
Reply to Xcode 14 Beta 3 Core Data Model Editor Style
At 15min16sec of « Evolve your Core Data schema » video of WWDC22, those style buttons are clearly shown in Xcode. Why those style buttons have been removed from Xcode 14? It simply doesn't make sense. I submitted a ticket through Feedback Assistant and I encourage every developer to do the same.
Replies
Boosts
Views
Activity
Nov ’22
Reply to Xcode 14 Beta 3 Core Data Model Editor Style
This is a screenshot from Apple’s online documentation related to Core Data. It clearly shows the editor’s style buttons. It doesn’t make sense modelling a large object model by simply working a relation from an entity then going to the other entity and creating a relation and going back to the previous entity to make sure the relationship is correct. The WYSIWYG editor is the tool needed.
Replies
Boosts
Views
Activity
Jan ’23
Reply to How can I present .formSheet on iPad with SwiftUI
As shown in the documentation, you could use .presentationDetents on .sheet because default is large. The example is: struct ContentView: View { @State private var showSettings = false var body: some View { Button("View Settings") { showSettings = true } .sheet(isPresented: $showSettings) { SettingsView() .presentationDetents([.medium, .large]) } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’23
Reply to Core Data externally stored binary data not deleted with record
Hi ! You will have to override -didSave in your image managed object subclass and do the deletion of the file. See the following discussions: https://stackoverflow.com/questions/17769595/the-best-practice-for-deleting-core-data-items-where-path-is-stored-as-text-and https://stackoverflow.com/questions/5073113/how-to-handle-cleanup-of-external-data-when-deleting-core-data-objects
Replies
Boosts
Views
Activity
Feb ’23
Reply to When is SwiftData available?
It will not be available before iOS 17 for sure, it's part of current beta development cycle.
Replies
Boosts
Views
Activity
Jun ’23