Search results for

A Summary of the WWDC25 Group Lab

10,109 results found

Post

Replies

Boosts

Views

Activity

Prevent collapsing every tab group when collapsing sidebar
I'm not sure if this is even the right place to ask this, or voice this complaint if there's no fix. If not, please direct me where to go. I'm trying to switch all my development over to Safari, but the tab sidebar is driving me absolutely insane. Let's say I have a bunch of tab groups expanded, and I collapse the sidebar to focus on the webapp I am building. When I toggle to show the sidebar again, every single tab group is collapsed. Why is it 2 clicks to see the tabs in the sidebar? Even with zero tab groups, and just tabs in the workspace, if you collapse the sidebar it'll collapse the list of tabs. Is there some hidden setting for this? Who do we have to complain to?
Topic: Safari & Web SubTopic: General
0
0
184
Feb ’25
Building macOS with App Groups using external CI/CD
Howdy, My macOS application uses app groups, using an entitlement file similar to the one below. com.apple.security.application-groups $(TeamIdentifierPrefix)com.example.test This all works when using my local Xcode. However, when I push the job to our CI/CD server I get an error. error: Provisioning profile doesn't include the com.apple.security.application-groups entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. Searching around, namely macOS Unsatisfied entitlements com.apple.security.application-groups and System Extension app-group entitlement issue tells me that I do not need to have the app group contained within my provisioning profile, due to how macOS handles App Groups differently to iOS. Is there a way to tell xcodebuild on my CI box to ignore this and continue building?
5
0
2.4k
Jun ’23
macOS : Accessing UserDefaults when App Group is enabled
I am developing a macOS app, with an embedded Finder Extension - https://developer.apple.com/documentation/findersync/fifindersync and I want the app and the extension to share UserDefaults - https://developer.apple.com/documentation/foundation/userdefaults The App is Sandboxed for future distribution on the app store. I followed instructions here : https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#//apple_ref/doc/uid/TP40014214-CH21-SW1 Both targets are part of the same app group, as it can be seen in the Entitlements: com.apple.security.app-sandbox com.apple.security.application-groups $(TeamIdentifierPrefix)com.stormacq.mac.MyApp ttcom.apple.security.files.user-selected.read-only tt t 2. I am accessing the UserDefaults by the suiteName : t let defaults = UserDefaults.init(suiteName: TEAM_ID.com.stormacq.mac.MyApp) t //where TEAM_ID is the actual team id used to sign the app (something like 123AB45CDE) t However, when tr
6
0
4.8k
Sep ’20
Reply to Cannot get drop action to trigger (Xcode 26 beta 3)
It's not shown in the repro, but I need to do additional things on drop than just reorder the array of items. In the real version, users can drop items onto other items and the items are merged. The frustrating part is that the WWDC25 demo and examples only show how to use the new .draggable(containerItemID:) and .dragContainer(for:) modifiers to drag items to the trash. So there's no demonstration of a drop target working with the new container-based modifiers...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’25
Disclosure Group In a List
I'm converting a file viewer app to use SwiftUI. It uses an NSOutlineView to show the objects in the file and their component parts. DisclosureGroup seems like the thing to use. I have a List of DisclosureGroups, one for each of the top-level objects. The disclosure shows the component parts. This does not behave correctly. I've attached a little sample program that shows what I'm trying to do. I have built and run this little app on both macOS and iOS. It behaves differently and incorrectly on both platforms. I tried making the top-level view a VStack; that behaves better, but still doesn't do what I expect. DisclosureGroup_TestApp.swift - https://developer.apple.com/forums/content/attachment/8084981b-5d9d-4031-b5bb-62fddd655468 ContentView.swift - https://developer.apple.com/forums/content/attachment/c9a3a853-61c6-46af-99e2-f4a224297b8f
0
0
1k
Jul ’20
Imessage with OS 18. Group Text Android Issues
I'm having issues using Imessage with OS 18. Android user are not receiving text message from a new group created with OS18. I added new users to a chat that we have been using for over a year. After upgrading to OS18 I was hoping I could add additional members without creating a new group, that apparently is not able to happen. What is happening, some folks with Android phones are not getting the text messages. These are members that have been on the group for sometime. Not sure if its all or some because I do not know who has what phone but it is indeed frustrating. I have tried turning off and on RCS and rebooting when I make the changes. I was under the impression OS18 would solve some of the incompatibility issues.
1
0
624
Sep ’24
SwiftCharts: how to manage colors and groupings
I want to draw a chart where I have two line marks (one for each child each) and behind it area marks for percentiles. If I don't add any foregroundStyle then the line marks get connected. struct GrowthChart: View { @ChartContentBuilder func oneSlice(row: PercentileRow, slice: Slice) -> some ChartContent { AreaMark( x: .value(Day, row.month), yStart: .value(Max, row.dictionary[slice.startKey]!), yEnd: .value(Min, row.dictionary[slice.endKey]!) ) .foregroundStyle(by: .value(Percentile, slice.number)) } let percentileColors: [Color] = [ .blue.opacity(0.1), .blue.opacity(0.2), .blue.opacity(0.3), .blue.opacity(0.4), .blue.opacity(0.5), .blue.opacity(0.4), .blue.opacity(0.3), .blue.opacity(0.2), .blue.opacity(0.1) ] var body: some View { VStack { Chart { ForEach(percentiles.rows) { row in ForEach(slices) { slice in oneSlice(row: row, slice: slice) } } ForEach(children) { child in ForEach(child.data) { dataPoint in LineMark( x: .value(Month, dataPoint.month), y: .value(Height, dataPoint.height) ) .foregroundSty
1
0
2.2k
Jun ’22
Reply to Apple Vision Pro developer labs sign-up
Hey! After I registered the page showed a 'thank you' message followed by a note that i would receive my registration status by the 3rd of August. It displayed this message for both the labs I signed up for (different cities.) I received 2 emails (per each location) after I signed up letting me know they have received my admission & We appreciate your interest in “Apple Vision Pro developer labs - 'insert city'.” We’ll review your request and reply with your registration status soon. So hopefully, we find out today! I registered for late August sessions, 17th & 25th
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’23
App Groups: macOS vs iOS: Working Towards Harmony
I regularly see folks confused by the difference in behaviour of app groups between macOS and iOS. There have been substantial changes in this space recently. While much of this is now covered in the official docs (r. 92322409), I’ve updated this post to go into all the gory details. If you have questions or comments, start a new thread with the details. Put it in the App & System Services > Core OS topic area and tag it with Code Signing and Entitlements. Oh, and if your question is about app group containers, also include Files and Storage. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com App Groups: macOS vs iOS: Working Towards Harmony There are two styles of app group ID: iOS-style app group IDs start with group., for example, group.eskimo1.test. macOS-style app group IDs start with your Team ID, for example, SKMME9E2Y8.eskimo1.test. This difference has been the source
0
0
5.0k
Dec ’22
App Group - Sharing 'Application Scripts' directory
I will be running user-provided scripts via a Mac application *and* and an extension of the app. The app and extension both belong to the same App Group and individually have the correct entitlements to run scripts.The Mac app is Sandboxed. According to Apple, any scripts must reside within the Applications Scripts directory: `. applicationScriptsDirectory` / `NSApplicationScriptsDirectory`.> The NSUserAppleScriptTask class is intended to run AppleScript scripts from your application. It is intended to execute user-supplied scripts and will execute them outside of the application's sandbox, if any.> If the application is sandboxed, then the script must be in the `NSApplicationScriptsDirectory` folder. A sandboxed application may read from, but not write to, this folder.>https://developer.apple.com/documentation/foundation/nsuserapplescripttaskThe issue I'm facing is that the Main App and the App Extension resolve to different NSApplicationScriptsDirectories:`let applicationScripts = try! Fil
4
0
1.6k
Oct ’18