Thank you for your answers.
Hi! I would have appreciated this as an issue on github as that allows better support but let us take it here this time.
IMHO, I haven't considered this as an issue but rather as an open question, hence the post.
I managed to get the .hh
files recognized as C++ header files by Xcode. So question answered.
Code sense for Cosa/Pins.hh can actual be due to the fact that this file contains several classes. This is "legacy" and should instead be several files for each of the Cosa Pin classes. I have this on the "todo"-list.
As you rightly point out, the culprit seems to be Xcode here, not the structure Arduino recommends which is pretty standard.