Search code examples
objective-cxcodecode-folding

Xcode code folding issue


After updating Xcode(5.0.1),one of my project files is automatically unfolding the code every time i leave the file or close Xcode.And this weird behavior is bothering me a lot,i already tried to delete and recreate it but didn't worked.

Anyone knows what might be causing this single file to have its code unfolded?


Solution

  • There's no way around it. xCode will unfold your code automatically. Period. There is no option to "preserve" code folding. (sad, but true...)