iphone - How can I render different paragraph styles in Core Text? -
i'm having difficult time trying work out how build page using core text, have multiple paragraphs follow 1 another, in different styles.
in other words, have title paragraph, followed subtitle paragraph, followed several body paragraphs. in html terms, be:
<h1>some title</h1> <h2>some subtitle</h2> <p>blah blah... ...</p>
i have got far creating ctframesetter title, creating ctframe that, , drawing context. don't understand how create new frame flows on previous paragraph. can please? or there online tutorial help?
thanks!
:-joe
the easiest way style nsattributedstring different styles before create framesetters.
Comments
Post a Comment