Hi fellow SwiftUI developers,
I have a sample view that I'd love to render as a modal window, similar to the Mail message compose window in iPadOS 15:
WindowGroup("general.status", id: "create") {
authorView
}
.handlesExternalEvents(matching: ["starlight://create"])
.commands {
TextEditingCommands()
}
With this setup via handlesExternalEvents(matching:Set<String>), I can get a window to open using openURL with a custom identifier, and I can see the modal option in the multitasking menu. However, when opening this window, it still appears as a full-screen scene.
I noticed that in "Take your iPad apps to the next level (WWDC21)", you can set a presentation style for a window in UIKit by setting the presentation style to UIWindowScene.PresentationStyle.prominent. However, I can't find anything equivalent to this in SwiftUI. Is there a way I can do this in SwiftUI, or call some UIKit code to set the WindowGroup (or the authorView) with that activation condition?
The new Messages in macOS Big Sur is a Catalyst app from my understanding, but I can't seem to build my sticker pack for it when I tick the "Mac" option in Xcode 12. The documentation seems to suggest that Mac Catalyst 14.0+ should support it when I look at the platforms available...
Does the Messages app in macOS Big Sur actually support iMessage sticker packs, or is it a little too good to be true?
Note: I am accounting for the fact that we only have the first beta of the OS and that, if there are updates to the SDK that enable this, it will come in the future.
Hey all, I’ve started working on making a couple of Xcode file templates and Project templates as a means of extending Xcode so that way anyone can create Ren’Py projects using Xcode. Since I noticed that it looks like some files are all over the place, I figured that may be developing in Xcode extension that puts these files in the right place will do the trick. However, I’m not sure if Xcode extensions have this ability. Is it possible to create in Xcode extension that adds file templates, and how can I go doing about that?
Post not yet marked as solved
I installed the macOS Mojave beta in July, and update cycles seemed to work just fine. However, after a few days of arriving to a new location, I am unable to update my beta software. I already contacted my IT administrators about this issue, and they have referred me to here. Attached is the details from Console:default14:03:51.850778 -0400softwareupdated[C61 IPv4#8222ada9:50420 tcp, url: http://10.86.1.46:50420/content/downloads/28/51/041-01264/2o1inezrd88d7saxd02wz838g0zqjnbfc3/EmbeddedOSFirmware.pkg?sour] canceldefault14:03:51.850916 -0400softwareupdated[C61 IPv4#8222ada9:50420 tcp, url: http://10.86.1.46:50420/content/downloads/28/51/041-01264/2o1inezrd88d7saxd02wz838g0zqjnbfc3/EmbeddedOSFirmware.pkg?sour] cancellederror14:03:51.850973 -0400softwareupdatedTask <63212255-6984-407E-B53E-3C1B4EB65DAF>.<5> load failed with error Error Domain=NSURLErrorDomain Code=-1004 UserInfo={_kCFStreamErrorCodeKey=61, NSUnderlyingError=0x7fa791f20790 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=<private>, _NSURLErrorRelatedURLSessionTaskErrorKey=<private>, NSLocalizedDescription=<private>, NSErrorFailingURLStringKey=<private>, NSErrorFailingURLKey=<private>, _kCFStreamErrorDomainKey=1} [-1004]default14:03:51.851065 -0400softwareupdated0.000s [C61 <private> 10.160.74.92:61554<->IPv4#8222ada9:50420 socket-flow] path:startdefault14:03:51.851175 -0400softwareupdated0.000s [C61 <private> 10.160.74.92:61554<->IPv4#8222ada9:50420 socket-flow] path:satisfieddefault14:03:51.851293 -0400softwareupdated0.000s [C61 <private> 10.160.74.92:61554<->IPv4#8222ada9:50420 socket-flow] flow:start_connectdefault14:03:51.851472 -0400softwareupdated0.005s [C61 <private> 10.160.74.92:61554<->IPv4#8222ada9:50420 socket-flow] flow:failed_connect Connection refuseddefault14:03:51.851573 -0400softwareupdated0.015s [C61] path:canceldefault14:03:51.851844 -0400softwareupdatednw_connection_report_state_with_handler_locked [C61] reporting state cancelled error Connection refuseddefault14:03:51.852049 -0400softwareupdatedTIC TCP Conn Destroyed [57:0x7fa791a3e570]error14:03:51.852323 -0400softwareupdatedTask <B61AB48D-1E9F-4EC2-BD48-E799E87E78C5>.<2> HTTP load failed (error code: -1004 [1:61])error14:03:51.852488 -0400softwareupdatedTask <B61AB48D-1E9F-4EC2-BD48-E799E87E78C5>.<2> finished with error - code: -1004