Search results for

“A Summary of the WWDC25 Group Lab”

11,207 results found

Post

Replies

Boosts

Views

Activity

Questions about Subscription Groups in In-App Purchases
Hello, I have a question about subscription groups in in-app purchases. Suppose I create a subscription group like this: Subscription Group A Subscription Item A1 (one month) Subscription Item A2 (one week) Subscription Item A3 (one year) The documentation mentions, A subscription group is made up of subscriptions with different access levels, prices, and durations so people can select the option that best fits their needs. Since people can only buy one subscription within a group at a time. Does this mean that if a user purchases Subscription Item A1 in Subscription Group A, they can only purchase other subscription items in Subscription Group A after the one-month period ends, when that subscription expires?
1
0
414
Oct ’24
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
163
Apr ’25
Removing subscription groups from app review
Recently my app was rejected because I have accidentally included two subscription groups that I did not intend to sell. In the current App Store Connect UI, I don't see a way to remove the subscription groups from this version, or entirely from the account. These items have never been on sale. Does anyone know how to fix this issue?
0
0
727
Jun ’22
Reply to Develop in swift fundamentals and xcode 12
Thanks. I downloaded the material and opened Lab - Classes.playground with XCode 12 (12GM Version 12.0 (12A7208)) with no problem. I tried also to open Lab - Collections.playground with Version 12.2 beta (12B5018i). It works as well. It works the same way as in XCode 11. I did not experienced any forced Quit. Note: to see code, I had to tap on the link at the bottom of the page, not very intuitive.
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’20
Communication Notifications not grouping notifications by conversation
I've implemented Communication Notifications in my messaging application but am having difficulty with figuring out why notifications aren't being grouped by conversation - instead, they all collapse into a single group. I've verified that the conversationIdentifier of the INSendMessageIntent is being correctly set for my notifications, along with the speakableGroupName. Is there anything else I could be missing to achieve the desired conversation grouping behaviour?
2
0
571
Jun ’24
Why can't I create a new group in Xcode?
I need to put a file inside a group in xcode, but every time I try, it throws an error. This is what I did: I selected the file that I want -> New group from selection. When I name the group and hit enter, I get the following error: `An unknown error occurred. Domain: com.apple.dt.SourceControlErrorDomain Code: -1 Recovery Suggestion: failed to read index: '/Users/Path_to_project/.git/index' no longer exists (-1) User Info: { DVTErrorCreationDateKey = 2022-11-30 18:32:36 +0000; com.apple.dt.sourcecontrol.UnderlyingErrorString = failed to read index: '/Users/path_to_project/.git/index' no longer exists (-1); }` The file, let's call it helper.swift is in the same level as projectNameApp.swift. It was working fine until a coupe of days ago. Out of nowhere xcode started throwing a permission related error for helper.swift. The error goes like this -> The file “Helper.swift” couldn’t be opened because you don’t have permission to view it. I have both read and write permission for t
0
0
695
Nov ’22
App group shared user defaults
In iOS 16 beta 3, my iOS app sets some strings in the shared user defaults of the app group. The iOS widget extension reads the strings from the shared user defaults correctly, but the watchOS app and watchOS widget extension could not read them (get nil). Integers stored in the shared user defaults can be read everywhere. All targets are in the same app group. Does anyone have similar problems?
7
0
6.5k
Jul ’22
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
221
Mar ’16
why is onAppear called twice on group in ZStack?
Is this a bug or why does white get printed to console twice but black only once in the below code? If I take out the Text() call then it works like I expect (both onAppear modifiers only called once).import SwiftUIstruct ContentView: View { var body: some View { ZStack { Group { Rectangle().fill(Color.black) } .onAppear() {print(black)} Group { Rectangle().fill(Color.white) Text(black on white).foregroundColor(.black) } .onAppear() { print(white)} } }}struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() }}
6
0
5.0k
Mar ’20
Metal SIMD Group Functions
Is there any documentation aside from the Metal Shading Language Specification that explains the SIMD group functions such as simd_or simd_and simd_xor etc. CUDA has functions comparable to the vote/ballot simd functions, but I am not aware of anything similar to the above. The MSL specification is vague in stating - for example - simd_or returns the bitwise OR across all active threads. Does that mean T data is applied bitwise to the value in each SIMD lane? What does that return exactly? Do you get only the highest or lowest or a sum of the bitwise operation?
0
0
1.2k
Aug ’21
iOS CalKit: How many calls can be grouped with CXSetGroupCallAction
Hi,Using iOS CallkIt VoIP API on iOS 10.THe API for CXSetGroupCallAction allows specifying a call UUID and another UUID of a call to be grouped with.THis suggests only two calls are allowed in a group. Is this the case or are more calls allowed in a group ie 3+.Thanks
Replies
0
Boosts
0
Views
351
Activity
Feb ’17
Questions about Subscription Groups in In-App Purchases
Hello, I have a question about subscription groups in in-app purchases. Suppose I create a subscription group like this: Subscription Group A Subscription Item A1 (one month) Subscription Item A2 (one week) Subscription Item A3 (one year) The documentation mentions, A subscription group is made up of subscriptions with different access levels, prices, and durations so people can select the option that best fits their needs. Since people can only buy one subscription within a group at a time. Does this mean that if a user purchases Subscription Item A1 in Subscription Group A, they can only purchase other subscription items in Subscription Group A after the one-month period ends, when that subscription expires?
Replies
1
Boosts
0
Views
414
Activity
Oct ’24
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
Replies
0
Boosts
0
Views
163
Activity
Apr ’25
Removing subscription groups from app review
Recently my app was rejected because I have accidentally included two subscription groups that I did not intend to sell. In the current App Store Connect UI, I don't see a way to remove the subscription groups from this version, or entirely from the account. These items have never been on sale. Does anyone know how to fix this issue?
Replies
0
Boosts
0
Views
727
Activity
Jun ’22
Reply to Develop in swift fundamentals and xcode 12
Thanks. I downloaded the material and opened Lab - Classes.playground with XCode 12 (12GM Version 12.0 (12A7208)) with no problem. I tried also to open Lab - Collections.playground with Version 12.2 beta (12B5018i). It works as well. It works the same way as in XCode 11. I did not experienced any forced Quit. Note: to see code, I had to tap on the link at the bottom of the page, not very intuitive.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’20
Communication Notifications not grouping notifications by conversation
I've implemented Communication Notifications in my messaging application but am having difficulty with figuring out why notifications aren't being grouped by conversation - instead, they all collapse into a single group. I've verified that the conversationIdentifier of the INSendMessageIntent is being correctly set for my notifications, along with the speakableGroupName. Is there anything else I could be missing to achieve the desired conversation grouping behaviour?
Replies
2
Boosts
0
Views
571
Activity
Jun ’24
Reply to Feedback assistant not working at all
Does not work for me either... And the funny thing at a WWDC lab I was told to use it to submit our issue as a bug :-)
Replies
Boosts
Views
Activity
Jun ’19
Reply to New Widget size for visionOS?
I got a reply to this during one of the lab times. See the response there: https://developer.apple.com/forums/thread/834345
Replies
Boosts
Views
Activity
Jun ’26
Why can't I create a new group in Xcode?
I need to put a file inside a group in xcode, but every time I try, it throws an error. This is what I did: I selected the file that I want -> New group from selection. When I name the group and hit enter, I get the following error: `An unknown error occurred. Domain: com.apple.dt.SourceControlErrorDomain Code: -1 Recovery Suggestion: failed to read index: '/Users/Path_to_project/.git/index' no longer exists (-1) User Info: { DVTErrorCreationDateKey = 2022-11-30 18:32:36 +0000; com.apple.dt.sourcecontrol.UnderlyingErrorString = failed to read index: '/Users/path_to_project/.git/index' no longer exists (-1); }` The file, let's call it helper.swift is in the same level as projectNameApp.swift. It was working fine until a coupe of days ago. Out of nowhere xcode started throwing a permission related error for helper.swift. The error goes like this -> The file “Helper.swift” couldn’t be opened because you don’t have permission to view it. I have both read and write permission for t
Replies
0
Boosts
0
Views
695
Activity
Nov ’22
XCode9: syntax for capture groups in search/replace?
If I search for regex (.*)How do I replace with the capture group? It was 0 and then $0. Any clue what it is in the new editor?For bonus points: can I change the case on the capture groups?Thanks,Andrew
Replies
0
Boosts
0
Views
400
Activity
Jun ’17
App group shared user defaults
In iOS 16 beta 3, my iOS app sets some strings in the shared user defaults of the app group. The iOS widget extension reads the strings from the shared user defaults correctly, but the watchOS app and watchOS widget extension could not read them (get nil). Integers stored in the shared user defaults can be read everywhere. All targets are in the same app group. Does anyone have similar problems?
Replies
7
Boosts
0
Views
6.5k
Activity
Jul ’22
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
Replies
4
Boosts
0
Views
221
Activity
Mar ’16
why is onAppear called twice on group in ZStack?
Is this a bug or why does white get printed to console twice but black only once in the below code? If I take out the Text() call then it works like I expect (both onAppear modifiers only called once).import SwiftUIstruct ContentView: View { var body: some View { ZStack { Group { Rectangle().fill(Color.black) } .onAppear() {print(black)} Group { Rectangle().fill(Color.white) Text(black on white).foregroundColor(.black) } .onAppear() { print(white)} } }}struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() }}
Replies
6
Boosts
0
Views
5.0k
Activity
Mar ’20
Metal SIMD Group Functions
Is there any documentation aside from the Metal Shading Language Specification that explains the SIMD group functions such as simd_or simd_and simd_xor etc. CUDA has functions comparable to the vote/ballot simd functions, but I am not aware of anything similar to the above. The MSL specification is vague in stating - for example - simd_or returns the bitwise OR across all active threads. Does that mean T data is applied bitwise to the value in each SIMD lane? What does that return exactly? Do you get only the highest or lowest or a sum of the bitwise operation?
Replies
0
Boosts
0
Views
1.2k
Activity
Aug ’21
Reply to Preview crashes consistency in Xcode 16 beta
I had talk with apple in their lab sessions and they admitted it's known issue in first beta and wait for next betas to have fix
Replies
Boosts
Views
Activity
Jun ’24