Post

Replies

Boosts

Views

Activity

Reply to Xcode 26.3 unlocks the power of agentic coding!
In the recent past, I used Chat GPT to make my app compliant with Concurrency and it worked like a champ. I was shocked actually at how well it worked. I have 2 other apps which I fixed by hand. I just tried agentic coding with Claude Agent. I thought I'd create a basic recipe app, not to sell, but to get my feet wet. I wanted it to have cloudKit support and Swift Data. There were several errors during the process and I gave Claude Agent the error messages. After a number of iterations, it finally converged on a solution which allowed me to create a recipe, add ingredients and instructions and save the result. I didn't type one line of code. On the one hand, I was greatly encouraged. On the other hand, I have been an iOS programmer since 2008, in a hobby manner, and It kind of feels like someone off the street could accomplish what I've spend years studying to achieve. The result is that I had better come up to speed with agnatic coding and become an expert, because the genie is out of the bottle with this and there is no turning back.
Mar ’26
Reply to Used Xcode AI to Clear 100+ Sendable Warnings
I've been looking at the AI generated code and comparing to the code I wrote for the other apps. And I am confused. The AI generated code creates an Item enum and uses the PersistentIdentifier of the PersistentModel, but fetches the PersistentModel array instead of fetching an array of PersistentIdentifiers, which my hand-generated code does. Again, I am confused as to why this works and clears the Sendable warnings.
Sep ’25
Reply to error: the replacement path doesn't exist:
I received the following message from Apple Feedback Assistant. Thank you for filing the feedback report. We have deployed the fix. Please verify this issue with iOS 18.1 Beta 6 and update your bug report with your results by logging into https://feedbackassistant.apple.com/ or by using the Feedback Assistant app. iOS 18.1 Beta 6 (Build: 22B5069a) https://developer.apple.com/download/ Posted Date: October 7, 2024 I don't have iOS 18.1 Beta 6 on any of my devices. Is there anyone who does and can confirm the fix?
Oct ’24
Reply to SwiftData @Model does not conform to the 'Sendable' protocol; thi
@FPST I had to write a method that returned the models from a sorted fetch and then get their PersistentIdentifiers. public func fetchSort<T: PersistentModel>(_ descriptor: FetchDescriptor<T>) throws -> [PersistentIdentifier] { var result = [PersistentIdentifier]() var models = [T]() models = try self.modelContext.fetch(descriptor) for model in models { let pID = model.persistentModelID result.append(pID) } return result }
Aug ’24
Reply to Xcode 26.3 unlocks the power of agentic coding!
In the recent past, I used Chat GPT to make my app compliant with Concurrency and it worked like a champ. I was shocked actually at how well it worked. I have 2 other apps which I fixed by hand. I just tried agentic coding with Claude Agent. I thought I'd create a basic recipe app, not to sell, but to get my feet wet. I wanted it to have cloudKit support and Swift Data. There were several errors during the process and I gave Claude Agent the error messages. After a number of iterations, it finally converged on a solution which allowed me to create a recipe, add ingredients and instructions and save the result. I didn't type one line of code. On the one hand, I was greatly encouraged. On the other hand, I have been an iOS programmer since 2008, in a hobby manner, and It kind of feels like someone off the street could accomplish what I've spend years studying to achieve. The result is that I had better come up to speed with agnatic coding and become an expert, because the genie is out of the bottle with this and there is no turning back.
Replies
Boosts
Views
Activity
Mar ’26
Reply to Cannot Add Claude Account to Xcode
Okay, it is working now. I added my key and all I had to do was select Claude Sonnet 4.5 in the little selection area.
Replies
Boosts
Views
Activity
Feb ’26
Reply to Used Xcode AI to Clear 100+ Sendable Warnings
I've been looking at the AI generated code and comparing to the code I wrote for the other apps. And I am confused. The AI generated code creates an Item enum and uses the PersistentIdentifier of the PersistentModel, but fetches the PersistentModel array instead of fetching an array of PersistentIdentifiers, which my hand-generated code does. Again, I am confused as to why this works and clears the Sendable warnings.
Replies
Boosts
Views
Activity
Sep ’25
Reply to Sales and Trends section is down
I am experiencing this issue as well.
Replies
Boosts
Views
Activity
Jan ’25
Reply to error: the replacement path doesn't exist:
I'm still seeing the issue on Xcode 16.1 and iOS 18.1.
Replies
Boosts
Views
Activity
Oct ’24
Reply to error: the replacement path doesn't exist:
I received the following message from Apple Feedback Assistant. Thank you for filing the feedback report. We have deployed the fix. Please verify this issue with iOS 18.1 Beta 6 and update your bug report with your results by logging into https://feedbackassistant.apple.com/ or by using the Feedback Assistant app. iOS 18.1 Beta 6 (Build: 22B5069a) https://developer.apple.com/download/ Posted Date: October 7, 2024 I don't have iOS 18.1 Beta 6 on any of my devices. Is there anyone who does and can confirm the fix?
Replies
Boosts
Views
Activity
Oct ’24
Reply to error: the replacement path doesn't exist:
I've updated my feedback to say that the problem exists when using Xcode 16 RC.
Replies
Boosts
Views
Activity
Sep ’24
Reply to Navigation issue in Xcode 16 beta 7
A code snippet might help.
Replies
Boosts
Views
Activity
Aug ’24
Reply to SwiftData error when trying to save array in Model
I'm easter egging here. Could it be something like the objective c array is a reference type and the [String] is a value type?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to error: the replacement path doesn't exist:
I've submitted feedback FB14898357 on this.
Replies
Boosts
Views
Activity
Aug ’24
Reply to Swift 6, SwiftData modelContext.save() Crashes, Does not AutoSave
Problem solved by insuring that the task is on the main actor. I've removed the feedback.
Replies
Boosts
Views
Activity
Aug ’24
Reply to SwiftData @Model does not conform to the 'Sendable' protocol; thi
@FPST I had to write a method that returned the models from a sorted fetch and then get their PersistentIdentifiers. public func fetchSort<T: PersistentModel>(_ descriptor: FetchDescriptor<T>) throws -> [PersistentIdentifier] { var result = [PersistentIdentifier]() var models = [T]() models = try self.modelContext.fetch(descriptor) for model in models { let pID = model.persistentModelID result.append(pID) } return result }
Replies
Boosts
Views
Activity
Aug ’24
Reply to SwiftData @Model does not conform to the 'Sendable' protocol; thi
let fetchDescriptor = FetchDescriptor() works fine, but let fetchDescriptor = FetchDescriptor<MyModel>(sortBy: [SortDescriptor( \.title)]) fails with The operation couldn’t be completed. (SwiftData.SwiftDataError error 1.)
Replies
Boosts
Views
Activity
Aug ’24
Reply to ModelContainer working but ModelContext not finding items with SwiftDta
I see where you define container1. You have a private var context which you never initialize like context = ModelContext(container1).
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Swift 6, SwiftData modelContext.save() Crashes, Does not AutoSave
I filed a feedback on the crash. It's FB14766558.
Replies
Boosts
Views
Activity
Aug ’24