Post

Replies

Boosts

Views

Activity

Comment on Dynamic Compound Predicates
Hello @Frameworks Engineer, I would say that it would be beneficial to many iOS developers to have this dynamic compound predicate be back deployed to iOS 17.4+. I don't have a specific use case in mind right now but I'm pretty sure I use that in many apps still using Core Data. Having this brought to SwiftData would push me to migrate to SwiftData for sure. Regards, Axel
Topic: SwiftData SubTopic:
SwiftData Q&A
Jun ’26
Comment on SwiftData does not work on a background Task even inside a custom ModelActor.
Can you share how you create this ProjectRepository actor in your project? The ModelActor macro is an easier way to write the boilerplate code you added to your actor (modelExecutor and modelContainer variables).I played with a custom ModelActor or a @ModelActor, and both needs to be created from within a detached Task if we want the actor to perform outside of the main queue. If they are created from within a Task, the context is using the main thread and the actor performs on the main queue.
Topic: App & System Services SubTopic: iCloud Tags:
Oct ’24
Comment on In Swift, how can I get the "last Sunday of a month before the current date"?
@eskimo I don’t think it is documented so I guess this is not supported. But I would have found useful in situations like these where you want to count backwards. When we create EKRecurrenceRule, we can use negative setPositions: Negative values indicate counting backwards from the end of the recurrence rule’s frequency (week, month, or year).. This is the equivalent to rrule bySetPos.
Topic: App & System Services SubTopic: General Tags:
Dec ’23
Comment on SwiftUI: Fatal error: No ObservableObject of type * found. A View.environmentObject(_:) for * may be missing as an ancestor of this view.
The TagView can only be accessed from a PostView where the post is in the environment (because it's the purpose of the PostView to display the Post and details about it). So why isn't the Post obiect available from the Environment in the context of the TagView if I push a View from this PostView?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’22
Comment on AppIntents and String catalog: how can we support both singular and plural forms for TypeDisplayRepresentation (used by DeleteIntent in the Shortcuts app for example)
Thank you, I already have this FB23455593, I'm not sure if I should dupe it.
Replies
Boosts
Views
Activity
Jun ’26
Comment on CSSearchableItemAttributeSet.associateAppEntity(_:priority:) causes "Failed to request donation" warning
Can you please tell use where to file Core Spotlight feedback in the Feedback App? I can't find the technology in the drop down. Thank you.
Replies
Boosts
Views
Activity
Jun ’26
Comment on Working with visits and significant location changes following Core Location updates in iOS 17 and iOS 18
Thank you for noticing my question!
Replies
Boosts
Views
Activity
Jun ’26
Comment on Dynamic Compound Predicates
Hello @Frameworks Engineer, I would say that it would be beneficial to many iOS developers to have this dynamic compound predicate be back deployed to iOS 17.4+. I don't have a specific use case in mind right now but I'm pretty sure I use that in many apps still using Core Data. Having this brought to SwiftData would push me to migrate to SwiftData for sure. Regards, Axel
Topic: SwiftData SubTopic:
SwiftData Q&A
Replies
Boosts
Views
Activity
Jun ’26
Comment on Crash log and symbolication when using Xcode Cloud
@DTS Engineer thank you for answering. But what if I don't download the archive builds from Xcode Cloud and don't have them locally? Does that mean that I won't be able to symbolicate crash? I thought the crashes would be symbolicated in the cloud. It's not the case? Thank you
Replies
Boosts
Views
Activity
Jun ’25
Comment on Open parent app from ShieldAction extension in iOS
Hello @anismansuri63, Have you found a solution to this? Thank you! Axel
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’25
Comment on Why first View on my NavigationStack appears again when I switch branch?
Thanks for the onFirstAppear code, this is something I already have in my code but here I was looking for an explanation on why I'm observing this.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’24
Comment on SwiftData does not work on a background Task even inside a custom ModelActor.
Can you share how you create this ProjectRepository actor in your project? The ModelActor macro is an easier way to write the boilerplate code you added to your actor (modelExecutor and modelContainer variables).I played with a custom ModelActor or a @ModelActor, and both needs to be created from within a detached Task if we want the actor to perform outside of the main queue. If they are created from within a Task, the context is using the main thread and the actor performs on the main queue.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Oct ’24
Comment on How do subscription promotional offers work for currently subscribed customers?
Thanks. Can you share what happens if the products are different? Does it follow the subscription group ranking logic (upgrade starts immediately with a refund, downgrade starts when the active subscription ends, cross grade behaves like a downgrade if duration are different)?
Replies
Boosts
Views
Activity
Jun ’24
Comment on NavigationSplitView crashes if I select an item in the sidebar after I removed other items
It can, it displays Text("Select an item").
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’24
Comment on In Swift, how can I get the "last Sunday of a month before the current date"?
@eskimo I don’t think it is documented so I guess this is not supported. But I would have found useful in situations like these where you want to count backwards. When we create EKRecurrenceRule, we can use negative setPositions: Negative values indicate counting backwards from the end of the recurrence rule’s frequency (week, month, or year).. This is the equivalent to rrule bySetPos.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’23
Comment on numericText transition for normal SwiftUI View
Thanks! It worked! See my reply below with the sample code.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’23
Comment on Xcode 14b2 Previews with SPM: AppHostMustHaveGetTaskAllowError: XCPreviewAgent.app not code signed properly "XCPreviewAgent.app" must be code signed in order to use on-device previews. Check your code signing settings for the target. com.apple.dt.U
Thanks. FB10509808.
Replies
Boosts
Views
Activity
Jun ’22
Comment on SwiftUI: Fatal error: No ObservableObject of type * found. A View.environmentObject(_:) for * may be missing as an ancestor of this view.
The TagView can only be accessed from a PostView where the post is in the environment (because it's the purpose of the PostView to display the Post and details about it). So why isn't the Post obiect available from the Environment in the context of the TagView if I push a View from this PostView?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on SwiftUI: Fatal error: No ObservableObject of type * found. A View.environmentObject(_:) for * may be missing as an ancestor of this view.
The TagView is only accessed from the PostView, where the post exists. Pushing a View from the PostView should keep the post object already in the environment by definition.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22