Search results for

“A Summary of the WWDC25 Group Lab”

10,699 results found

Post

Replies

Boosts

Views

Activity

Summary of issues encountered with the Screen Time interface
I have developed three apps using the Screen Time API. The following are common problems I encountered in the three apps: DeviceActivityMonitorExtension is automatically killed after running for a few days (frequently) The same DeviceActivityEvent in DeviceActivityMonitorExtension is triggered twice during eventDidReachThreshold (especially obvious in iOS18.5) Screen Time authorization is automatically canceled for no reason (occasionally) I hope to get help
5
0
354
Jun ’25
How to group map annotations?
I create a map with pins. Some of them are located close to each other and when I zoom out, the points are obscured by others. How to group them so that all of them become visible when the map is zoomed in properly. What the most efficient why to do that? Currently in viewDidLoad, I'm getting point data from firebase and put them on the map. db.collection(map).getDocuments() { (querySnapshot, err) in if let err = err { print(Error getting documents: (err))} else { for document in querySnapshot!.documents { let data = document.data() if let name = data[name] as? String, let lat = data[lat] as? Double, let lon = data[lon] as? Double { let newAnnotation = MKPointAnnotation() newAnnotation.coordinate = CLLocationCoordinate2D(latitude: lat, longitude: lon) newAnnotation.title = name self.mapa.addAnnotation(newAnnotation) } } } }
1
0
1.5k
Jul ’20
Accessing classes from parent groups - not allowed??
As far as I understand it, Groups in Xcode are simply a way to organize your project's files. However, I have found that classes in groups can't access the classes that aren't in the same group or children of that group. This makes no sense to me. Example: Group A -ClassA Group B -ClassB I want to declare: class ClassA: ClassB but I get the error Cannot find type 'ClassB' in scope However, if I move ClassB into Group A, it works. Is this a bug?
6
0
1.3k
Jan ’22
Syncing App Group files through iCloud
We have an iOS application that is using a third party c library, which uses UNIX domain sockets to manage and save content to the device. We have found that this is possible by using Application Groups. We are now interested in using iCloud to sync the data between multiple devices. However, I've been unable to find any documentation on how to do this or if it's possible just using App groups. I've built a simple prototype, but I have had no success syncing App Group files through iCloud. Is this possible? If so, please post a link to documentation or an example of this being done.
1
0
1.1k
Jan ’20
Does UITableViewAutomaticDimension work with grouped UITableView ?
I have a UITableViewController created in storyboard and I have set the tableView to display in grouped mode.I am trying to use TableView's automatic cell height calculation by setting self.tableView.rowHeight = UITableViewAutomaticDimension; self.tableView.estimatedRowHeight = 50;and I am not overriding heightForRowAtIndexPath.The cells I am using are either Basic or subtitlte type (i.e no custom cells) and I have enabled multiline text for titleLabel and subtitleLabelby setting numberOfLines to 0However, the cell always display with height = 50 and it appears that the text labels are extending above and below the contentView to accomodate the multiline text.Things work perfectly well if I simply make the tableView to display in plain mode intead of grouped.So my question is 0 Does UITableViewAutomaticDimension work with grouped UITableView ?
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
348
Sep ’15
SwiftUI Form (Grouped) with Table
Hi everyone, I’m having an issue with a SwiftUI Table inside a Form in a macOS app. When the Form style is set to .grouped, the Table does not resize to the full width of the Form or Sheet. However, when I switch to a .plain style, it resizes correctly. Here’s a simplified version of my code: Section(header: Text(Header)) { Table(data) { TableColumn(Column 1, value: .col1) TableColumn(Column 2, value: .col2) // Add more columns as needed } .frame(height: 100) } } .formStyle(.grouped) // Issue occurs only with this style Has anyone else experienced this? Any workarounds or suggestions would be greatly appreciated! Thanks!
3
0
805
Sep ’24
Xcode Groups - "cannot find type..." when accessing an object defined in another group
I'm a beginner to Xcode, swift, and swiftui and I'm following the tutorial here. It says to break files into view model and resource groups. However, when I try to access objects from the model in classes in the view, I get an error saying cannot find type ___ in scope. In java or c# I would add a package or namespace reference. How do I do this is swift?
0
0
339
May ’22
Dock tile plugin and app groups
In one of my apps I use an app group to share data between the app and a command line tool. This works as expected. The app also contains a Dock Tile plugin and I wonder if there's a way to access the group container from this plugin? Thanks in advance for your help. Best regards, Marc
5
0
464
Dec ’24
Problem with Terminal App and Window Groups
Hello.Apple Support has directed me here.Some basic details.MacBook Pro (Retina, 15-inch, Mid 2015)OS X El Capitain Version 10.11.6 (15G1108)Terminal Version 2.6.1 (361.1)When I start ther Terminal App I want it to start with a number of windows that open in s Window Group. I have done this by saving my own window group which has the windows, directories and arrangements and sizes. I have set the Terminal->Properties->Gerneral->On startup, open: to be Window group: and I have selected my previously saved Window Group. This has worked correctly on previous versions of OS X on my older MBP 2012 and has until recently worked without problems on my current MBP, although beacuse I use Terminal infrequently I can not say for certain which (if any) of the recent updates have caused the below problem to occur.I have the Terminal App permanatly in my Dock (I have set it's Dock Option to Keep In Dock)When I click the Terminal App Icon in the Dock the Terminal App starts (a l
1
0
344
Nov ’16
Adding User to Internal Testing Group
Hey there 👋 I know it is possible to add a beta tester to an external tester group via this call. But what I didn't find out is how to add an User to an internal tester-group like App Store Connect Users. This gets even more a topic since Apple announced that we can create multiple internal tester groups in future. Is this possible with the current state of the ASC API?
0
0
1.2k
Jun ’21
Summary of issues encountered with the Screen Time interface
I have developed three apps using the Screen Time API. The following are common problems I encountered in the three apps: DeviceActivityMonitorExtension is automatically killed after running for a few days (frequently) The same DeviceActivityEvent in DeviceActivityMonitorExtension is triggered twice during eventDidReachThreshold (especially obvious in iOS18.5) Screen Time authorization is automatically canceled for no reason (occasionally) I hope to get help
Replies
5
Boosts
0
Views
354
Activity
Jun ’25
How to group map annotations?
I create a map with pins. Some of them are located close to each other and when I zoom out, the points are obscured by others. How to group them so that all of them become visible when the map is zoomed in properly. What the most efficient why to do that? Currently in viewDidLoad, I'm getting point data from firebase and put them on the map. db.collection(map).getDocuments() { (querySnapshot, err) in if let err = err { print(Error getting documents: (err))} else { for document in querySnapshot!.documents { let data = document.data() if let name = data[name] as? String, let lat = data[lat] as? Double, let lon = data[lon] as? Double { let newAnnotation = MKPointAnnotation() newAnnotation.coordinate = CLLocationCoordinate2D(latitude: lat, longitude: lon) newAnnotation.title = name self.mapa.addAnnotation(newAnnotation) } } } }
Replies
1
Boosts
0
Views
1.5k
Activity
Jul ’20
How do you undo today's TestFlight group consolidation?
We had a handful of user groups, but they were merged into External Testers with today's TestFlight update. Has anyone found a way to revert this other than manually moving each tester to a replacement group?
Replies
0
Boosts
0
Views
297
Activity
Apr ’17
Accessing classes from parent groups - not allowed??
As far as I understand it, Groups in Xcode are simply a way to organize your project's files. However, I have found that classes in groups can't access the classes that aren't in the same group or children of that group. This makes no sense to me. Example: Group A -ClassA Group B -ClassB I want to declare: class ClassA: ClassB but I get the error Cannot find type 'ClassB' in scope However, if I move ClassB into Group A, it works. Is this a bug?
Replies
6
Boosts
0
Views
1.3k
Activity
Jan ’22
Reply to Is 15 minutes the maximum length of a track for MusicKit JS?
I'm also having this issue. Detailed on github: https://github.com/TTFM-Labs/public/issues/7
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’21
Syncing App Group files through iCloud
We have an iOS application that is using a third party c library, which uses UNIX domain sockets to manage and save content to the device. We have found that this is possible by using Application Groups. We are now interested in using iCloud to sync the data between multiple devices. However, I've been unable to find any documentation on how to do this or if it's possible just using App groups. I've built a simple prototype, but I have had no success syncing App Group files through iCloud. Is this possible? If so, please post a link to documentation or an example of this being done.
Replies
1
Boosts
0
Views
1.1k
Activity
Jan ’20
Does UITableViewAutomaticDimension work with grouped UITableView ?
I have a UITableViewController created in storyboard and I have set the tableView to display in grouped mode.I am trying to use TableView's automatic cell height calculation by setting self.tableView.rowHeight = UITableViewAutomaticDimension; self.tableView.estimatedRowHeight = 50;and I am not overriding heightForRowAtIndexPath.The cells I am using are either Basic or subtitlte type (i.e no custom cells) and I have enabled multiline text for titleLabel and subtitleLabelby setting numberOfLines to 0However, the cell always display with height = 50 and it appears that the text labels are extending above and below the contentView to accomodate the multiline text.Things work perfectly well if I simply make the tableView to display in plain mode intead of grouped.So my question is 0 Does UITableViewAutomaticDimension work with grouped UITableView ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
348
Activity
Sep ’15
SwiftUI Form (Grouped) with Table
Hi everyone, I’m having an issue with a SwiftUI Table inside a Form in a macOS app. When the Form style is set to .grouped, the Table does not resize to the full width of the Form or Sheet. However, when I switch to a .plain style, it resizes correctly. Here’s a simplified version of my code: Section(header: Text(Header)) { Table(data) { TableColumn(Column 1, value: .col1) TableColumn(Column 2, value: .col2) // Add more columns as needed } .frame(height: 100) } } .formStyle(.grouped) // Issue occurs only with this style Has anyone else experienced this? Any workarounds or suggestions would be greatly appreciated! Thanks!
Replies
3
Boosts
0
Views
805
Activity
Sep ’24
Xcode Groups - "cannot find type..." when accessing an object defined in another group
I'm a beginner to Xcode, swift, and swiftui and I'm following the tutorial here. It says to break files into view model and resource groups. However, when I try to access objects from the model in classes in the view, I get an error saying cannot find type ___ in scope. In java or c# I would add a package or namespace reference. How do I do this is swift?
Replies
0
Boosts
0
Views
339
Activity
May ’22
Dock tile plugin and app groups
In one of my apps I use an app group to share data between the app and a command line tool. This works as expected. The app also contains a Dock Tile plugin and I wonder if there's a way to access the group container from this plugin? Thanks in advance for your help. Best regards, Marc
Replies
5
Boosts
0
Views
464
Activity
Dec ’24
Problem with Terminal App and Window Groups
Hello.Apple Support has directed me here.Some basic details.MacBook Pro (Retina, 15-inch, Mid 2015)OS X El Capitain Version 10.11.6 (15G1108)Terminal Version 2.6.1 (361.1)When I start ther Terminal App I want it to start with a number of windows that open in s Window Group. I have done this by saving my own window group which has the windows, directories and arrangements and sizes. I have set the Terminal->Properties->Gerneral->On startup, open: to be Window group: and I have selected my previously saved Window Group. This has worked correctly on previous versions of OS X on my older MBP 2012 and has until recently worked without problems on my current MBP, although beacuse I use Terminal infrequently I can not say for certain which (if any) of the recent updates have caused the below problem to occur.I have the Terminal App permanatly in my Dock (I have set it's Dock Option to Keep In Dock)When I click the Terminal App Icon in the Dock the Terminal App starts (a l
Replies
1
Boosts
0
Views
344
Activity
Nov ’16
Subscription Group Display Name
In App Store Connect, I can't change Subscription Group Display Name . I get the error message There was an error editing your App Store localization. Please try again later. It doesn't change even after waiting a while. Why does this error occur? I would appreciate it if you could tell me what to do.
Replies
0
Boosts
0
Views
99
Activity
Nov ’25
Adding User to Internal Testing Group
Hey there 👋 I know it is possible to add a beta tester to an external tester group via this call. But what I didn't find out is how to add an User to an internal tester-group like App Store Connect Users. This gets even more a topic since Apple announced that we can create multiple internal tester groups in future. Is this possible with the current state of the ASC API?
Replies
0
Boosts
0
Views
1.2k
Activity
Jun ’21
Unable to add Internal Groups to the Build
I am unable to add Internal Groups to the builds. Tried it twice with two different builds, but after the processing and compliance confirmation, I am unable to add groups. They are disabled. Is there someone who is facing the same issue?
Replies
17
Boosts
0
Views
717
Activity
Mar ’25
Test flight build went to the wrong group
I have 2 groups on test flight. I have assigned one build to the group 1, but when it got approved, it went to the group 2 as well. The user who has received it had automatic updates On; anyway, they shouldn't have received the update
Replies
0
Boosts
0
Views
864
Activity
Jan ’21