Search results for

“A Summary of the WWDC26 Group Lab”

11,829 results found

Post

Replies

Boosts

Views

Activity

tensorflow-metal plugin problem with grouped convolutions
Running grouped convolutions on an M2 with the metal plugin I get an error. Example code: Using TF2.11 and no metal plugin I get import tensorflow as tf tf.keras.layers.Conv1D(5,1,padding=same, kernel_initializer=ones, groups=5)(tf.ones((1,1,5))) # displays On TF2.14 with the plugin I received import tensorflow as tf tf.keras.layers.Conv1D(5,1,padding=same, kernel_initializer=ones, groups=5)(tf.ones((1,1,5))) # displays ... NotFoundError: Exception encountered when calling layer 'conv1d_3' (type Conv1D). could not find registered platform with id: 0x104d8f6f0 [Op:__inference__jit_compiled_convolution_op_78] Call arguments received by layer 'conv1d_3' (type Conv1D): • inputs=tf.Tensor(shape=(1, 1, 5), dtype=float32) could not find registered platform with id
1
0
783
Jan ’24
UIMenuElementAttributesKeepsMenuPresented not working when Glass Grouping changes
I'm working on a UIBarButtonItem that is supposed to be a filter button - it shows a menu in which the user can (un)check menu items. Using the UIMenuElementAttributesKeepsMenuPresented attribute on the UIActions prevents the menu to hide after the user clicks an item. The button is put alongside another button as the leftBarButtonItems of my navigation item. In iOS 26 they are grouped into a single glass container automatically. Now when the user starts filtering, I want to highlight the UIBarButton item to signal to the user that the filter is active (similar to what Apple does in the Mail app). I do that by setting the UIBarButtonItemStyle to prominent. Now that works too, but it causes the automatic glass grouping to break up and the menu to hide. I'm fine with the grouping to break up, but the menu shouldn't hide. Is this a bug or can this be prevented somehow?
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
215
Oct ’25
iTunes subscription group user charged twice
Recently I have added new purchases in subscription group, now many users are complaining of getting charged for multiple subscription in the same group. Can somebody please help me in understanding in terms of consumer, how it will proceed?. As per documentation user should have been charged only with the newly chosen subscription and should have received partial refund for the older one.
0
0
519
Sep ’17
Outlook 16.42 and Groups missing and issues with O365
Overall love this version, but am seeing 2 issues with this new version: 1) Groups I've created in Contacts are no longer visible, and the option to create Groups also is not available. When I switch back to the old Outlook (it's a toggle at the top of the screen), Groups are back and usable 2). I have multiple O365 accounts (3) that I use in Outlook, one of the accounts does not seem to function properly when I switch to the new version. Would welcome input on both
0
0
695
Oct ’20
Allow group chats to be available to all authenticated users
I am developing a chatting app which has groups sections where it shows all groups in firebase firestore.here is my data collection:and inside Group i have:can anyone guide me how to get all Group from firestore? in realtime database i did that but could not get along in firestore:DataService.instance.REF_GROUPS.observe(.value) { (snapshot) in DataService.instance.getAllMessagesFor(desiredGroup: self.group!, handler: { (returnedGroupMessages) in self.groupMessages = returnedGroupMessages self.tableView.reloadData() if self.groupMessages.count > 0 { self.tableView.scrollToRow(at: IndexPath(row: self.groupMessages.count - 1, section: 0), at: .none, animated: true) } }) }
1
0
572
Oct ’19
Sequoia Group Container for Mac Catalyst Apps
Prior to Sequoia, Mac Catalyst Apps worked fine when using group folders that started with group. They now get an alert that the Mac Catalyst app is trying to access data from other applications. This may also impact some SwiftUI developers. According to this the documentation for the App Group Entitlements entitlement, on macOS we should begin use the Team Identifier instead of group. Should Mac Catalyst follow the macOS or iOS rules for com.apple.security.application-groups? If they should need to follow the macOS rules now, that creates several issues for developers. We would now need separate build targets to pick up the different Entitlements files. More distressing is that we would need to do some kind of migration process to get our files to the new location. There wouldn't be a transparent way to do so where the user wasn't warned about the application accessing files that don't belong to it. Any clarification on what Mac Catalyst developers should be doing
18
0
3.6k
Jun ’24
One introductory offer on two subscription groups.
Hi everyone! I have two subscription groups (Small Package, Large Package) each with two subscriptions (Monthly, Annual). I want to offer two months free to each new user (i.e. a user that never had ANY Subscription). Do you know if/how can I do that? Options considered up to now that are not working: duplicate each subscription (i.e. monthly, monthly_freetier, annual, annual_freetier). However, even if in my application I display either only the freetier or only the other ones, the user sees all 4 in the apple store Set up an Introductory offer on every subscription (works as desired within the same group, but not across different groups) Do you have any suggestion? PS. I am using revenuecat to retrieve the user purchase history.
0
0
324
Nov ’24
Widget Configuration Search with group headers...
I am working on a widget that allows the user to specify a list of items. Each item is an AppEntity and has an id, a type and a name. In the DisplayRepresentation I have and icon / image for each type. So when I tap on the specified items option a list of user specified items comes up with the option to search, select, deselect items. This works nicely. I sort them suggested entities by type then name so the list is predictable. How would like to be able to have a group / type header for each type of item. However, I don't know how to do that with the AppEntities. Help would be appreciated. I noticed that HomeKit takes a different approach. They have a list of items at the bottom labeled Choose Scene Or Accessory. You can move the items up / down in the list, you can delete, and add items. When you tap Add an item in the list it goes to a search screen where the items are grouped by the room and have the individual items beneath them. I don't like that you have to select one item at a time b
1
0
290
Jun ’25
AppleScript App entitlement when access-group identifier="*"
I am developing a Mac app that makes use of App Scripting. The is Sandboxed and thus needs the proper entitlements in order to get permissions to send AppleScript events to other apps. I have gotten this working properly for apps (like Mail and spotify) which specify access-group identifiers like this:<access-group identifier=com.apple.mail.compose access=rw/> <access-group identifier=com.spotify.playback/>However, a few other of the Apple made apps (like Xcode) specify their identifiers like this:<access-group identifier=*/>I have tried to configure my entitlement file like this:<key>com.apple.security.scripting-targets</key> <dict> <key>com.apple.dt.Xcode</key> <array> <string>*</string> </array> </dict>, but when doing this it does not work and I get this error message in the console:AppleEvents/sandbox: Returning errAEPrivilegeError/-10004 and denying dispatch of event xcod/buld from process '
1
0
1.4k
Mar ’17
Apple Pay - errors in AuthorizationViewController, Questions on payment Summary
If I only have one product item in Apple Pay, how would I detect a total? My app is a donation platform, so I don't need to actually ship anything, but would like contact info. I have a number of errors that I have tried to figure out to debug to no avail. Any help is appreciated.Also I keep getting this error (this was the same as the sample code given from WWDC).This is in my BuyTicketViewController.swift file. if PKPaymentAuthorizationViewController.canMakePaymentsUsingNetworks(BuyTicketViewController.paymentNetworks) { let button = PKPaymentButton(type: .Buy, style,: .Black) button.addTarget(self, action: applePayButtonPressed, forControlEvents: .TouchUpInside) button.center = applePayView.center button.autoresizingMask = [.FlexibleLeftMargin, .FlexibleRightMarin] applePayView.addSubview(button) } }The error says 'expected declaration.'The sample says to use else (for traditional checkout). When I put that it, it breaks the rest of my code and I get lots of errors.line 8 - eror on MerchantIDline 9 - error
0
0
1.2k
Sep ’15
Find the name of a CNContact's group (CNGroupName)
So I only recently uncovered the Contacts Framework through this video: https://youtu.be/sHKir2ZMk5Q. As such I'm not yet accustomed to the API. Basically my main problem is that I can't seem to find a way to access the name of the group a CNContact is in. The only support I can find is in Apple's own documentation, which isn't very helpful. if someone could point me in the right direction towards how to print the group name, I would be very grateful. My code is below, Cheers // ModelData.swift // B-Day import Foundation import Contacts import SwiftUI struct Contact: Identifiable { let id = UUID() let category: String let firstName: String let lastName: String let birthday: DateComponents? } func fetchAllContacts() async -> [Contact] { var contacts = [Contact]() let store = CNContactStore() let keys = [CNContactGivenNameKey, CNContactFamilyNameKey, CNContactBirthdayKey, CNContactIdentifierKey, CNGroupNameKey] as [CNKeyDescriptor] let fetchRequest = CNContactFetchRequest (keysToFetch: keys
1
0
1.4k
Aug ’23
tensorflow-metal plugin problem with grouped convolutions
Running grouped convolutions on an M2 with the metal plugin I get an error. Example code: Using TF2.11 and no metal plugin I get import tensorflow as tf tf.keras.layers.Conv1D(5,1,padding=same, kernel_initializer=ones, groups=5)(tf.ones((1,1,5))) # displays On TF2.14 with the plugin I received import tensorflow as tf tf.keras.layers.Conv1D(5,1,padding=same, kernel_initializer=ones, groups=5)(tf.ones((1,1,5))) # displays ... NotFoundError: Exception encountered when calling layer 'conv1d_3' (type Conv1D). could not find registered platform with id: 0x104d8f6f0 [Op:__inference__jit_compiled_convolution_op_78] Call arguments received by layer 'conv1d_3' (type Conv1D): • inputs=tf.Tensor(shape=(1, 1, 5), dtype=float32) could not find registered platform with id
Replies
1
Boosts
0
Views
783
Activity
Jan ’24
UIMenuElementAttributesKeepsMenuPresented not working when Glass Grouping changes
I'm working on a UIBarButtonItem that is supposed to be a filter button - it shows a menu in which the user can (un)check menu items. Using the UIMenuElementAttributesKeepsMenuPresented attribute on the UIActions prevents the menu to hide after the user clicks an item. The button is put alongside another button as the leftBarButtonItems of my navigation item. In iOS 26 they are grouped into a single glass container automatically. Now when the user starts filtering, I want to highlight the UIBarButton item to signal to the user that the filter is active (similar to what Apple does in the Mail app). I do that by setting the UIBarButtonItemStyle to prominent. Now that works too, but it causes the automatic glass grouping to break up and the menu to hide. I'm fine with the grouping to break up, but the menu shouldn't hide. Is this a bug or can this be prevented somehow?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
2
Boosts
0
Views
215
Activity
Oct ’25
Watch OS 2 and App Groups.
Do App Groups still work on Watch OS 2 as a mechanism for sharing files between the watch and iPhone?(Since WatchKit extension will now reside on the watch instead of the iPhone)What changes to we need to make to the existing codebase?
Replies
16
Boosts
0
Views
16k
Activity
Jun ’15
iTunes subscription group user charged twice
Recently I have added new purchases in subscription group, now many users are complaining of getting charged for multiple subscription in the same group. Can somebody please help me in understanding in terms of consumer, how it will proceed?. As per documentation user should have been charged only with the newly chosen subscription and should have received partial refund for the older one.
Replies
0
Boosts
0
Views
519
Activity
Sep ’17
Outlook 16.42 and Groups missing and issues with O365
Overall love this version, but am seeing 2 issues with this new version: 1) Groups I've created in Contacts are no longer visible, and the option to create Groups also is not available. When I switch back to the old Outlook (it's a toggle at the top of the screen), Groups are back and usable 2). I have multiple O365 accounts (3) that I use in Outlook, one of the accounts does not seem to function properly when I switch to the new version. Would welcome input on both
Replies
0
Boosts
0
Views
695
Activity
Oct ’20
Allow group chats to be available to all authenticated users
I am developing a chatting app which has groups sections where it shows all groups in firebase firestore.here is my data collection:and inside Group i have:can anyone guide me how to get all Group from firestore? in realtime database i did that but could not get along in firestore:DataService.instance.REF_GROUPS.observe(.value) { (snapshot) in DataService.instance.getAllMessagesFor(desiredGroup: self.group!, handler: { (returnedGroupMessages) in self.groupMessages = returnedGroupMessages self.tableView.reloadData() if self.groupMessages.count > 0 { self.tableView.scrollToRow(at: IndexPath(row: self.groupMessages.count - 1, section: 0), at: .none, animated: true) } }) }
Replies
1
Boosts
0
Views
572
Activity
Oct ’19
Sequoia Group Container for Mac Catalyst Apps
Prior to Sequoia, Mac Catalyst Apps worked fine when using group folders that started with group. They now get an alert that the Mac Catalyst app is trying to access data from other applications. This may also impact some SwiftUI developers. According to this the documentation for the App Group Entitlements entitlement, on macOS we should begin use the Team Identifier instead of group. Should Mac Catalyst follow the macOS or iOS rules for com.apple.security.application-groups? If they should need to follow the macOS rules now, that creates several issues for developers. We would now need separate build targets to pick up the different Entitlements files. More distressing is that we would need to do some kind of migration process to get our files to the new location. There wouldn't be a transparent way to do so where the user wasn't warned about the application accessing files that don't belong to it. Any clarification on what Mac Catalyst developers should be doing
Replies
18
Boosts
0
Views
3.6k
Activity
Jun ’24
One introductory offer on two subscription groups.
Hi everyone! I have two subscription groups (Small Package, Large Package) each with two subscriptions (Monthly, Annual). I want to offer two months free to each new user (i.e. a user that never had ANY Subscription). Do you know if/how can I do that? Options considered up to now that are not working: duplicate each subscription (i.e. monthly, monthly_freetier, annual, annual_freetier). However, even if in my application I display either only the freetier or only the other ones, the user sees all 4 in the apple store Set up an Introductory offer on every subscription (works as desired within the same group, but not across different groups) Do you have any suggestion? PS. I am using revenuecat to retrieve the user purchase history.
Replies
0
Boosts
0
Views
324
Activity
Nov ’24
Widget Configuration Search with group headers...
I am working on a widget that allows the user to specify a list of items. Each item is an AppEntity and has an id, a type and a name. In the DisplayRepresentation I have and icon / image for each type. So when I tap on the specified items option a list of user specified items comes up with the option to search, select, deselect items. This works nicely. I sort them suggested entities by type then name so the list is predictable. How would like to be able to have a group / type header for each type of item. However, I don't know how to do that with the AppEntities. Help would be appreciated. I noticed that HomeKit takes a different approach. They have a list of items at the bottom labeled Choose Scene Or Accessory. You can move the items up / down in the list, you can delete, and add items. When you tap Add an item in the list it goes to a search screen where the items are grouped by the room and have the individual items beneath them. I don't like that you have to select one item at a time b
Replies
1
Boosts
0
Views
290
Activity
Jun ’25
AppleScript App entitlement when access-group identifier="*"
I am developing a Mac app that makes use of App Scripting. The is Sandboxed and thus needs the proper entitlements in order to get permissions to send AppleScript events to other apps. I have gotten this working properly for apps (like Mail and spotify) which specify access-group identifiers like this:<access-group identifier=com.apple.mail.compose access=rw/> <access-group identifier=com.spotify.playback/>However, a few other of the Apple made apps (like Xcode) specify their identifiers like this:<access-group identifier=*/>I have tried to configure my entitlement file like this:<key>com.apple.security.scripting-targets</key> <dict> <key>com.apple.dt.Xcode</key> <array> <string>*</string> </array> </dict>, but when doing this it does not work and I get this error message in the console:AppleEvents/sandbox: Returning errAEPrivilegeError/-10004 and denying dispatch of event xcod/buld from process '
Replies
1
Boosts
0
Views
1.4k
Activity
Mar ’17
Apple Pay - errors in AuthorizationViewController, Questions on payment Summary
If I only have one product item in Apple Pay, how would I detect a total? My app is a donation platform, so I don't need to actually ship anything, but would like contact info. I have a number of errors that I have tried to figure out to debug to no avail. Any help is appreciated.Also I keep getting this error (this was the same as the sample code given from WWDC).This is in my BuyTicketViewController.swift file. if PKPaymentAuthorizationViewController.canMakePaymentsUsingNetworks(BuyTicketViewController.paymentNetworks) { let button = PKPaymentButton(type: .Buy, style,: .Black) button.addTarget(self, action: applePayButtonPressed, forControlEvents: .TouchUpInside) button.center = applePayView.center button.autoresizingMask = [.FlexibleLeftMargin, .FlexibleRightMarin] applePayView.addSubview(button) } }The error says 'expected declaration.'The sample says to use else (for traditional checkout). When I put that it, it breaks the rest of my code and I get lots of errors.line 8 - eror on MerchantIDline 9 - error
Replies
0
Boosts
0
Views
1.2k
Activity
Sep ’15
Find the name of a CNContact's group (CNGroupName)
So I only recently uncovered the Contacts Framework through this video: https://youtu.be/sHKir2ZMk5Q. As such I'm not yet accustomed to the API. Basically my main problem is that I can't seem to find a way to access the name of the group a CNContact is in. The only support I can find is in Apple's own documentation, which isn't very helpful. if someone could point me in the right direction towards how to print the group name, I would be very grateful. My code is below, Cheers // ModelData.swift // B-Day import Foundation import Contacts import SwiftUI struct Contact: Identifiable { let id = UUID() let category: String let firstName: String let lastName: String let birthday: DateComponents? } func fetchAllContacts() async -> [Contact] { var contacts = [Contact]() let store = CNContactStore() let keys = [CNContactGivenNameKey, CNContactFamilyNameKey, CNContactBirthdayKey, CNContactIdentifierKey, CNGroupNameKey] as [CNKeyDescriptor] let fetchRequest = CNContactFetchRequest (keysToFetch: keys
Replies
1
Boosts
0
Views
1.4k
Activity
Aug ’23