Can you speed up Xcode's ‘folding’ animations in the code editor?
System Preferences > Accessibility > Display > Reduce motion
hey you can use this command in terminal and restart Xcode.
defaults write com.apple.dt.Xcode CodeFoldingAnimationSpeed -float 0.25