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
Post a Comment