Post

Replies

Boosts

Views

Activity

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 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
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 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 `accessibilityUserInputLabels` is ignored on `UIBarButtonItem`
The UIBarButtonItem is not a user input control.
Replies
Boosts
Views
Activity
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 Live Activities with WatchOS app
Well, perform the test and report your findings.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to iOS 18 Bug -Certificate Trust Settings for Private Root Certificates Not Available
@Dooleylastword - Why not use certificates from a real CA for production use?
Replies
Boosts
Views
Activity
Sep ’24
Reply to How the iOS 18 Control Widget displays an AppIntentError to the user.
Use your main app to set up and manage such permission requests via some onboarding flow.
Replies
Boosts
Views
Activity
Sep ’24
Reply to Collection and Index error on Xcode 16
extension Collection { func get(at i: Index) -> Element? { return indices.contains(i) ? self[i] : nil } subscript(safeIndex index: Index) -> Element? { return get(at: index) } }
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to Collection and Index error on Xcode 16
Try extension Collection { func get(at i: Int) -> Element? { return i < count self[i] : nil } } I know the above is not what you're looking for but I tried your extension above in playgrounds with no issues.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to Predictive Code Completion Fails to Install (Apple Silicon M2 Max) - macOS 15 & Xcode 16
Working!
Replies
Boosts
Views
Activity
Sep ’24
Reply to Apple, you have to solve this problem
Posting the issue here will be more effective: http://feedbackassistant.apple.com/
Replies
Boosts
Views
Activity
Aug ’24
Reply to trouble installing truffle for my MacM2 14.5
Truffle &/or any Ethereum tools are not an apple product. Post your questions on the Truffle support board.
Replies
Boosts
Views
Activity
Jul ’24
Reply to SwiftUI navigate to another view from a popup
Change @State var pin in PinView to a @Binding var pin @State var pin: PinAnnotation? The expression selected = 1 does nothing. Button(action: {select = 1})
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Why can't SwiftUI state be changed in the middle of view updates?
To be as simple as one can be - you don't call it - it calls you. This means anything that triggers a view update in the form of a state, binding, or publisher follows an update-and-forget model unless you're observing changes from them to pass the results off to another dependency.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Jul ’24