Swiftui, Swift, iOS App Development, iOS Development, iOS.
fetchRequest.fetchBatchSize = 50 fetchRequest.returnsObjectsAsFaults = true // If the number of data in each page is small, we can directly use lazy loading to further improve efficiency. fetchRequest.fetchLimit = 50 // The amount of data required per page. fetchRequest.fetchOffset = 0 // Change