This is...concerning. I never use Claude with my closed-source projects, because I don't trust that they won't send the code to use for training. So I copy snippets, ask general questions, etc. Just now, I started a new prompt and got this. I didn't mention keyboards at all.
@danielsaidi likely a coincidence. Toolbars and keyboards are like bread and butter. Here's my bing search result for "SwiftUI toolbar" and the AI response immediately goes for a keyboard example.

@alexozun @danielsaidi I think it’s this too. They aren’t bright and just parrot information which does work okay a lot of times but other times they just go wrong.

I’ve just fixed a bug I didn’t catch the other day. It added a db query and used the library’s wherePK() function. Well if the primary key is id and version then you’ll never get the lastest version with that. It did this after fully explaining what makes up the primary key of the model.