Code Folding in Cocoa - Anyone know how to?

Discussion in 'Mac Programming' started by xyzeugene, Feb 13, 2009.

  1. macrumors newbie

    Feb 13, 2009
    Hello Mac Peeps,

    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.


  2. macrumors regular

    Oct 13, 2008
    Achewood, CA
    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?
  3. thread starter macrumors newbie

    Feb 13, 2009
    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.


Share This Page