Does anyone know how to program or have the cocoa source code to do code folding on an Intel Mac? An example would be nice. I want to include this in a data analysis program I am writing.
Code folding in Cocoa? Do you mean that you're creating a text editor, and want to add code folding to it? Or do you want to know how to use code folding in Xcode?
Code folding in Cocoa? Do you mean that you're creating a text editor, and want to add code folding to it? Or do you want to know how to use code folding in Xcode?
Nope, I know XCode can fold source code-this is a programming question for a folding component to the framework NSTextView or similar. I need a component or source code that will fold regions of text. I will add an embedded text editor in my program I am designing.