Post

Replies

Boosts

Views

Activity

SwiftUI Lag on Core Data/SwiftData Updates During Background Tasks
Hello, developers, I'm experiencing UI lag in SwiftUI when updating Core Data or SwiftData entities in the background, noticeable during scrolling. This issue arises regardless of whether the updated entity is currently displayed. For instance, updating a "Song" entity with a new localURL from a background download and saving background context affects an unrelated "Artists" list view. Scenario: The lag is most evident when completing background downloads and updating entity properties, causing a hitch in scrolling interactions when using SwiftUI @FetchRequest or @Query for displaying data. Observations: The issue occurs with both Core Data @FetchRequest and SwiftData @Query property wrappers. It affects unrelated views, suggesting a broader issue with SwiftUI's handling of data updates during user interactions. Seeking Community Insights: Has anyone faced similar issues with SwiftUI and background data updates? Any strategies for reducing this lag/hitch? Insights into SwiftUI's data update and view re-rendering process in this context? For a practical example, Apple's project on loading and displaying a large data feed demonstrates this issue. Try tapping the refresh button while scrolling to observe the lag. Appreciate any advice or solutions! Best Regards, [Personal Information Edited by Moderator]
2
1
589
Feb ’24
Big Sur - Data APFS Volume size
Hi, I have a problem with my Big Sur - Data partition. I have 512GB Macbook Pro 2020 and recently I get notification that my disk is almost full. When I checked it in Disk Utility I noticed that my Big Sur Data APFS Volume have just 150GB. I also don't know why the name of Image Snapshot partition stayed as MacOS Catalina. Is there a way to change the size of my Big Sur - Data Volume or is it better to make a copy and reinstall everything from scratch ? You can find diskutil list below: 	 #:											 TYPE NAME										SIZE			 IDENTIFIER 	 0:			GUID_partition_scheme												*500.3 GB	 disk0 	 1:												EFI ⁨EFI⁩										 314.6 MB	 disk0s1 	 2:								 Apple_APFS ⁨Container disk1⁩				 500.0 GB	 disk0s2 /dev/disk1 (synthesized): 	 #:											 TYPE NAME										SIZE			 IDENTIFIER 	 0:			APFS Container Scheme -											+500.0 GB	 disk1 																 Physical Store disk0s2 	 1:								APFS Volume ⁨Macintosh HD⁩						16.0 GB		disk1s1 	 2:								APFS Volume ⁨MacOS Catalina⁩					15.0 GB		disk1s2 	 3:							APFS Snapshot ⁨com.apple.os.update-...⁩ 15.0 GB		disk1s2s1 	 4:								APFS Volume ⁨Preboot⁩								 326.1 MB	 disk1s3 	 5:								APFS Volume ⁨Recovery⁩								613.6 MB	 disk1s4 	 6:								APFS Volume ⁨VM⁩											1.1 GB		 disk1s5 	 7:								APFS Volume ⁨MacOS Big Sur - Data⁩		143.1 GB	 disk1s7
1
0
1.4k
Jan ’21
App don't show in App Store search
Hi My Mac app "ML Highlight" was released (marked as "ready to sale") in the App Store on Friday 7th. Since then, direct link to the app works but when I try to search the app name in the App Store I get no results and it's already 4 days since release. Surprisingly when I write my surname in the search bar it shows the app in the results. Can there be some issue with the name containing word with only two characters or can it be something else ? Here is the direct link to the app: https://apps.apple.com/gb/app/ml-highlight/id1522792740?mt=12
5
1
2.7k
Aug ’20