Search results for

“A Summary of the WWDC26 Group Lab”

11,825 results found

Post

Replies

Boosts

Views

Activity

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
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.6k
Jul ’22
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
701
Nov ’22
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
603
Jun ’24
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
224
Mar ’16
Reply to App Store Ratings with iOS 11 version
Apple said this about that this morning...-=-Now it’s quicker and easier for users to see your app's rating, with just one summary rating that displays on your product page. This summary rating is based on ratings of your app's current version as of September 19 (Pacific Time), and is specific to each territory on the App Store. New ratings will continue to count towards this summary, and you can choose to reset your summary rating when you release a new version of your app. Customer reviews for all versions of your app will continue to display on your product page.Learn about Ratings, Reviews, and Responses.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’17
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
5k
Mar ’20
invalid context when trying to hide a group
That's a watch error I cannot get rid of.I have created a group at the bottom of the view (that seem to be important).In the group, a label and a slider.I would like to hide the group at start, then show it after some action has been done.So, in awake, I setHidden(true) for the group.But, I get multiple context errors like:App Watch Extension[11882:866609] [Unknown process name] CGContextSetFillColorWithColor: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.App Watch Extension[11882:866609] [Unknown process name] CGContextSetStrokeColorWithColor: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.If I replace setHidden by setting alpha to 0, I succeed in hiding, but that's not exactly the same layout.I found this SO, but the solution does not work for me.https://stackoverflow.com/questions/32236204/cgcontextsavegstate-invalid-context-0x0-error-only-on-de
1
0
1.6k
Jun ’19
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
277
Aug ’20
Game Center Group Leaderboard issue
I have an iOS game with one Game Center leaderboard. Recently I published the game and it works fine with no issues. Then I did light version of the game and I'd like to use the same leaderboard for both games. I combined both versions of the game into the Game Center Group and modified leaderboard ID, because Apple requires to start group leaderboard names with grp..Now, if I load scores I receive nil. But if I firstly submit some score and load after that I receive only score for the local player. I checked the leaderboard on itunesconnect and I know for sure that there are a lot of records in the leaderboard. The leaderboard is the same as it was before combining into the group. I thought that Game Center needs some time to update, but I've waited about several days and still see no changing.Do I do something wrong? Or this is just a Game Center bug?I found some similar issues here but with no reply. Does anyone has any ideas? Any help appreciated!
3
0
1.4k
Mar ’17
setText on a Label inside a Group fails to update
In a watch app, if I put a label inside a Group , setText() does not change the text on a label when it is inside a Group.The demo code:@IBOutlet var pinLocationText: WKInterfaceLabel! @IBAction func pinButtonPress() { pinLocationText.setText(Reset) }executes correctly when pinLocationText is outside a Group, but fails to display the text when the label is inside a Group.So, how do I update the display value of a Label when it is inside a Group?
0
0
521
Dec ’17
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
8.1k
Jan ’17
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
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.6k
Activity
Jul ’22
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
701
Activity
Nov ’22
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
603
Activity
Jun ’24
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
224
Activity
Mar ’16
Reply to App Store Ratings with iOS 11 version
Apple said this about that this morning...-=-Now it’s quicker and easier for users to see your app's rating, with just one summary rating that displays on your product page. This summary rating is based on ratings of your app's current version as of September 19 (Pacific Time), and is specific to each territory on the App Store. New ratings will continue to count towards this summary, and you can choose to reset your summary rating when you release a new version of your app. Customer reviews for all versions of your app will continue to display on your product page.Learn about Ratings, Reviews, and Responses.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’17
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
5k
Activity
Mar ’20
invalid context when trying to hide a group
That's a watch error I cannot get rid of.I have created a group at the bottom of the view (that seem to be important).In the group, a label and a slider.I would like to hide the group at start, then show it after some action has been done.So, in awake, I setHidden(true) for the group.But, I get multiple context errors like:App Watch Extension[11882:866609] [Unknown process name] CGContextSetFillColorWithColor: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.App Watch Extension[11882:866609] [Unknown process name] CGContextSetStrokeColorWithColor: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.If I replace setHidden by setting alpha to 0, I succeed in hiding, but that's not exactly the same layout.I found this SO, but the solution does not work for me.https://stackoverflow.com/questions/32236204/cgcontextsavegstate-invalid-context-0x0-error-only-on-de
Replies
1
Boosts
0
Views
1.6k
Activity
Jun ’19
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?
Replies
1
Boosts
0
Views
277
Activity
Aug ’20
Game Center Group Leaderboard issue
I have an iOS game with one Game Center leaderboard. Recently I published the game and it works fine with no issues. Then I did light version of the game and I'd like to use the same leaderboard for both games. I combined both versions of the game into the Game Center Group and modified leaderboard ID, because Apple requires to start group leaderboard names with grp..Now, if I load scores I receive nil. But if I firstly submit some score and load after that I receive only score for the local player. I checked the leaderboard on itunesconnect and I know for sure that there are a lot of records in the leaderboard. The leaderboard is the same as it was before combining into the group. I thought that Game Center needs some time to update, but I've waited about several days and still see no changing.Do I do something wrong? Or this is just a Game Center bug?I found some similar issues here but with no reply. Does anyone has any ideas? Any help appreciated!
Replies
3
Boosts
0
Views
1.4k
Activity
Mar ’17
setText on a Label inside a Group fails to update
In a watch app, if I put a label inside a Group , setText() does not change the text on a label when it is inside a Group.The demo code:@IBOutlet var pinLocationText: WKInterfaceLabel! @IBAction func pinButtonPress() { pinLocationText.setText(Reset) }executes correctly when pinLocationText is outside a Group, but fails to display the text when the label is inside a Group.So, how do I update the display value of a Label when it is inside a Group?
Replies
0
Boosts
0
Views
521
Activity
Dec ’17
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
Replies
9
Boosts
0
Views
8.1k
Activity
Jan ’17