Code Folding in Cocoa - Anyone know how to?

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

  1. xyzeugene
    Expand Collapse
    macrumors newbie

    Joined:
    Feb 13, 2009
    #1
    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.

    Thanks

    Eugene
     
  2. autorelease
    Expand Collapse
    macrumors regular

    Joined:
    Oct 13, 2008
    Location:
    Achewood, CA
    #2
    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. xyzeugene
    Expand Collapse
    thread starter macrumors newbie

    Joined:
    Feb 13, 2009
    #3
    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.

    Eugene
     

Share This Page