How to create marked up PDF file?


Hello, please help me to solve the problem.
The problem is to create marked up text in PDF with info from plist. So I have methods which Apple recommends in Drawing and Printing Guide for iOS, but I’m confused how to draw my text from plist. Should I use many CTFrameRef for drawing rectangles and put text into them? Or should I use “big” NSMutableAttributedString and then put it into

CFAttributedStringRef currentText = CFAttributedStringCreate(NULL, (__bridge CFStringRef)myAttributedString, NULL); and then draw PDF with it? This is how I want my PDF text look like: