Search results for

A Summary of the WWDC25 Group Lab

10,098 results found

Post

Replies

Boosts

Views

Activity

Group A Dictionary By Key Value
Im sure i cant be the only one to have an app needing this functionality, yet i cant come across and Library to help with it thus far.I have an Dictionary such as[[order: 31399, builder: Test, area: North], [order: 4244, builder: Test, area: North][order: 41499, builder: new, area: South]]Im wanting to group this data by Area in this case into a dictionary like so [[North: [[order: 31399, builder: Test, area: North], [order: 4244, builder: Test, area: North]]],[South: [[order: 41499, builder: new, area: South]]]]Or maybe even 2 levels down, by area and then by builder in the area. In JS i have used D3 and this process is super simple with nesting, in swift its becoming a nightmare. Even if i can just get 1 level grouping i will be happy at this point. Any help is appreciated. Thanks
4
0
213
Mar ’16
Is there a limit to how many Subscription Groups we can create in total?
We have identified Subscription Groups for our use-case based on the below note from Apple, but there is no mention of any limitations in the doc. Can we create unlimited number of Subscription Groups or is there a limit? If your app needs to offer users the ability to buy multiple subscriptions — for example, to subscribe to more than one channel in a streaming app — you can add these subscriptions to different groups. Users who buy subscriptions in multiple groups will be billed separately for each subscription. Thanks in advance!
1
0
1.4k
Jul ’22
Reply to Should ModelActor be used to populate a view?
I decided to run this task on app launch to sync the clinical labs into the SwiftData store. This allows me to use Query macro in the views where it's needed and no need to combine lab results. Let me know if this is the right approach: import SwiftData import SwiftUI import OSLog @ModelActor actor HealthKitSyncManager { private let logger = Logger(subsystem: com.trtmanager, category: HealthKitSyncManager) func sync() async { do { // Get all Clinical labs let hkClinicalRecords = try await TRTHealthKitService.getHKClinicalRecords() guard !hkClinicalRecords.isEmpty else { return } // Get existing HealthKit IDs in one query let descriptor = FetchDescriptor( // predicate: #Predicate { $0.source == .clinicalRecord } ) let existing = try modelContext.fetch(descriptor) .compactMap { $0.fhirResourceId } let existingIDs = Set(existing) let missingRecords = hkClinicalRecords.filter { lab in guard let fhirResource = lab.fhirResource else { return false } return !existingIDs.contains(f
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’25
App Group access after app transfer
I want to ask a question about App Transfer. We have succesfully transferred our iOS app to new developer account. App ID and bundle is transferred but there is no app group id and push notification certificate in new developer account.Our database is stored in the app group container and have to create same app group id in new developer account. I want to ask you if there is any risk to delete old app group id from old account and re-create the same app group id in new developer account. Will any App Store users affect data lose or etc ?Or, is there any other way to transfer App Group ID to new developer account ?Thanks
9
0
7.8k
Jan ’17
Looking for snippet for creating groups
Hi, I'm developing an app with a functionality to invite and add members to a group (the back-end work is already done, but I'm looking for better front-end). For this functionality, I need the ability to... Show current members (after they have accepted the invite). The ability to see pending invitations. The ability to delete either pending invitations or current members. Does anyone know of any existing snippets that I could implement for this front-end functionality?
1
0
259
Aug ’20
Group with an existing primary App ID Change
Is it possible to change the Primary App ID set in the Group with an existing primary App ID to another Primary App ID within the same group If there is a change, whether the sub values of the token will be changed upon successful login If an app corresponding to the existing Group Primary App ID is deleted from the app store, ask whether or not other apps in the same group are affected and what effect it will have If anyone knows about the above, please let me know please
0
0
79
Apr ’25
UICollectionView Compositional Layout Tag Group
I’m trying to create a layout with a group of labels / tags. The labels have a flexible width and height. If a label exceeds the width of the container it should grow in height. I’m using a UICollectionView with a compositional layout to create this layout. At first I used estimated for the width and height dimension of the layout items within a horizontal group layout that had an fractionalWidth and an estimated height. This worked but only if the cells with the labels were smaller than the group width. If they are larger, the app crashes. Somewhere on StackOverflow I read that this is a known issue. To fix the issue above I made the main group a vertical layout and created a different group for every row of labels. If the labels width exceeds the width of the group I give if a fractional width and if it’s smaller I give it an estimated width. This approach prevents the crashed above and gives me my desired layout. But… as soon as I rotate the device of c
0
0
1.2k
Oct ’23