uitextview - Adding Multiple NSTextContainers to an NSLayoutManager -


i notice can add multiple text containers layout manager in objective-c using addtextcontainer:(nstextcontainer *)textcontainer selector. using textkit, i've ever had add 1 text container, , when messing around multiple text containers, of textviews filled same text text storage linked lay out manager. i'm curious, when ever need add multiple text containers 1 layout manager?

one nslayoutmanger multiple text containers when need text within associated nstextstorage span on multiple pages (normally each nstextview) in word processor spreading text on multiple pages.

the nslayoutmanager clever enough split text in nstextstorage each nstextcontainer.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -