When you just start Xcode and open the project, editing the code and entering if will prompt the normal shortcut button for if code block generation; However, if you enter if again, the prompt will no longer be displayed; Unless you restart Xcode, it will only take effect for the first time. IF-ELSE prompts are normal. The above functions were normal before Xcode 13.4.1.
Xcode 14.0 - Code Tips for Code Editor if Code Blocks
Version 14.3 (14E222b) still the same