Post

Replies

Boosts

Views

Activity

Reply to SwiftUI View cannot conform custom Equatable protocol in Swift 6.
Love seeing so much interaction in the Swift Forums! I'm going to summarize the discussion: Potential Workarounds: Add @preconcurrency to the Equatable Protocol: One potential solution discussed is adding @preconcurrency to the Equatable protocol. This would suggest that we are confident Apple will improve this in the future. However, this information hasn’t been officially communicated in the forums. @DTS Engineer isn't it? Using MainActor.assumeIsolated: Another approach mentioned is using MainActor.assumeIsolated as described in Swift documentation . This works under the assumption that Equatable will only be used from the MainActor. While this might work in some cases, it could lead to issues such as the program stopping if the assumption is incorrect. It seems like a good solution but not ideal practice, even, in this case won't stop the program. Additionally, some forum members pointed out that using the Equatable protocol with views might not be possible. There is also a feature request (FB15753655) proposing the creation of a custom Equatable protocol specifically for views that use @MainActor
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’24
Reply to What (exactly) to do with Privacy Manifest Report
It's only a reference for filling nutrition labels when you update/upload the app inside the App Store Connect. But It will be great @eskimo @meaton if we can include the nutrition labels inside our app with a predefined format. I mean for enforcing privacy user knowledge. We are a privacy-first Company and I know more people want to include the info also in their web and app, we want to clarify these aspects, and using something corroborated by Apple, makes users trust in.
Apr ’24
Reply to SwiftUI View cannot conform custom Equatable protocol in Swift 6.
Update: You cannot use MainActor.assumeIsolated because the render graph, which uses the com.apple.SwiftUI.AsyncRenderer queue, can operate off the main thread.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to SwiftUI View cannot conform custom Equatable protocol in Swift 6.
Love seeing so much interaction in the Swift Forums! I'm going to summarize the discussion: Potential Workarounds: Add @preconcurrency to the Equatable Protocol: One potential solution discussed is adding @preconcurrency to the Equatable protocol. This would suggest that we are confident Apple will improve this in the future. However, this information hasn’t been officially communicated in the forums. @DTS Engineer isn't it? Using MainActor.assumeIsolated: Another approach mentioned is using MainActor.assumeIsolated as described in Swift documentation . This works under the assumption that Equatable will only be used from the MainActor. While this might work in some cases, it could lead to issues such as the program stopping if the assumption is incorrect. It seems like a good solution but not ideal practice, even, in this case won't stop the program. Additionally, some forum members pointed out that using the Equatable protocol with views might not be possible. There is also a feature request (FB15753655) proposing the creation of a custom Equatable protocol specifically for views that use @MainActor
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to SwiftUI View cannot conform custom Equatable protocol in Swift 6.
Ensure that Swift Concurrency is marked in the build settings @Claude31
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to Open parent app from ShieldAction extension in iOS
@Frameworks Engineer this means that those apps are breaking sandboxing? Is there any way to open the app without using private apis?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to App Store app size vs real one
One day after report it through the Appstore, size was fixed and now it is correct.
Replies
Boosts
Views
Activity
Sep ’24
Reply to App Store app size vs real one
@eskimo could be that App Store is not counting safari extensions or some resources like fonts or others in the app size?
Replies
Boosts
Views
Activity
Sep ’24
Reply to Extensions and Widget localizations
Sill happen in iOS 18.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to onOpenURL(perform:) vs application(_:open:options:)
@sha921
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to XCODE CLOUD Artifacts could not be found
@eskimo @meaton, please redeploy to include the endpoint.
Replies
Boosts
Views
Activity
May ’24
Reply to What (exactly) to do with Privacy Manifest Report
It's only a reference for filling nutrition labels when you update/upload the app inside the App Store Connect. But It will be great @eskimo @meaton if we can include the nutrition labels inside our app with a predefined format. I mean for enforcing privacy user knowledge. We are a privacy-first Company and I know more people want to include the info also in their web and app, we want to clarify these aspects, and using something corroborated by Apple, makes users trust in.
Replies
Boosts
Views
Activity
Apr ’24
Reply to onOpenURL(perform:) vs application(_:open:options:)
Thanks for your reply @sha921, but it is not what I'm looking for. The openURLAction is for open urls programmatically vs what I'm looking that it's someone runs a scheme or a Dee-link and you can manage it.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to Code Signing failed for third-party Swift package
any information about it @eskimo ?
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to Content Filter iOS
@eskimo @meaton if you have any knowledge about the question, feel free to post it.
Replies
Boosts
Views
Activity
Feb ’24
Reply to iOS 16.1 or newer cannot manage sandbox user subscriptions from settings
No updates
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Nov ’23
Reply to SwiftUI App change Status Bar color for single view
Yas, it's not possible using swiftUI, try with UIKit.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’23