Post

Replies

Boosts

Views

Activity

Reply to Type Eraser for Container
Type eraser will most likely be done at the .container Environment level using generic or plain protocols. As you have done above, you pass in concrete type and then access it like @environment(.container) var container.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’24
Reply to SizeClasses, really?
Sad to say, the rationale behind this documented quirk and its unexplained reason for Pro vs Pro Max Devices can be found here: https://developer.apple.com/design/human-interface-guidelines/layout#Specifications
Topic: UI Frameworks SubTopic: SwiftUI
Oct ’24
Reply to How can I make my multi-window Catalyst app restore window size and position after closing with stoplight button?
UI Restoration https://developer.apple.com/documentation/uikit/view_controllers/preserving_your_app_s_ui_across_launches/about_the_ui_restoration_process Restoring your App's State https://developer.apple.com/documentation/uikit/uiscenedelegate/restoring_your_app_s_state Preserving your App's State https://developer.apple.com/documentation/uikit/view_controllers/preserving_your_app_s_ui_across_launches Always remember that your MacCatalyst is an iOS app running on the Mac, not natively.
Topic: UI Frameworks SubTopic: UIKit Tags:
Oct ’24
Reply to Can I fix this big difference between swiftui preview and actual watch widget layout?
Try using a more appropriate font size and .multilineTextAlignment(.left) to see what the title looks like.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to `accessibilityUserInputLabels` is ignored on `UIBarButtonItem`
The UIBarButtonItem is not a user input control.
Replies
Boosts
Views
Activity
Oct ’24
Reply to Type Eraser for Container
Type eraser will most likely be done at the .container Environment level using generic or plain protocols. As you have done above, you pass in concrete type and then access it like @environment(.container) var container.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to macOS 15.1 Build Number 24B2083 or 24B83
That's far from the truth. I was running macOS 15.1 24B83 as a guest OS on an M2 Max Host. The guest OS updated to the 24B2083 seed from 24B83 seed.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to SizeClasses, really?
Sad to say, the rationale behind this documented quirk and its unexplained reason for Pro vs Pro Max Devices can be found here: https://developer.apple.com/design/human-interface-guidelines/layout#Specifications
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Oct ’24
Reply to  intelligence
What playground?
Replies
Boosts
Views
Activity
Oct ’24
Reply to How can I make my multi-window Catalyst app restore window size and position after closing with stoplight button?
UI Restoration https://developer.apple.com/documentation/uikit/view_controllers/preserving_your_app_s_ui_across_launches/about_the_ui_restoration_process Restoring your App's State https://developer.apple.com/documentation/uikit/uiscenedelegate/restoring_your_app_s_state Preserving your App's State https://developer.apple.com/documentation/uikit/view_controllers/preserving_your_app_s_ui_across_launches Always remember that your MacCatalyst is an iOS app running on the Mac, not natively.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to How to wake up the Apple Watch app in the background
Look into push notifications with a deep link or universal link.
Replies
Boosts
Views
Activity
Oct ’24
Reply to Crash due to missing symbols from libc++ [macOS 11.7.10] [Big Sur]
ProductName: macOS ProductVersion: -->14.3.1<-- BuildVersion: 23D60 - Upgrading the OS is required.
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to I’ve been waiting a week for my apple intelligence features.
Your account is too new ...
Replies
Boosts
Views
Activity
Nov ’24
Reply to Issues with UserDefault boolean
Never store passwords or pass anything in user defaults because it is not secured. If it's a homework assignment, then it's ok.
Topic: Design SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to how to prevent YouTube app from opening.
No, you cannot prevent an app from launching via a deep link.
Topic: Safari & Web SubTopic: General
Replies
Boosts
Views
Activity
Nov ’24
Reply to Defer system gestures in a WatchKit app
If it's not documented, then it's not supported - file a bug report, but this sounds like an overarching system service that cannot be altered.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to Image playground waitlist
You will just have to wait until it's released or you have placed an app or two into the store.
Replies
Boosts
Views
Activity
Nov ’24
Reply to How to build clang modules to work with Swift/C++ interop
You can begin here: https://www.swift.org/documentation/cxx-interop/
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’24