Xcode/Mac: keyboard shortcut to type the "OR" sign "||" (double vertical bar)?
I have a Macbook with Danish keyboard, and for me I use the Alt+i, to make the | operand.
That did not work for me either. But this one did:
Alt+ 7 with the Alt key on the right side of the keyboard or Ctrl + Alt + 7 with the Alt key on the left side
This site lists the shortcut as Shift+Alt+L if you use a Mac keyboard. But the "pipe" symbol does actually exist on the Mac UK keyboard so can't you just press that key twice?