NSParagraphStyle - need help

Discussion in 'Mac Programming' started by rethish, Dec 15, 2008.

  1. rethish macrumors member

    Joined:
    Oct 16, 2008
    #1
    hi all..


    I want to include line spacing and paragraph spacing with the content in the textview.

    How it can be done?

    I used defaultparagraphstyle method but it didn't worked .
    please help

    thankyou.
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    You can create a mutable one to manipulate:
    Code:
    NSMutableParagraphStyle *para = [[[NSParagraphStyle defaultParagraphStyle] mutableCopy] autorelease];
     
  3. rethish thread starter macrumors member

    Joined:
    Oct 16, 2008
    #3
    thank you for tips.

    I want to list my textview content using bullets and numberings. I found some of search results for this topic ,they were about NSTextList .
    I couldn't get it,
    please provide me some help on NSTextList.


    thank you
     

Share This Page