Core Text is the modern text layout and rendering framework on Apple's Mac OS X and iOS operating systems.
I'm trying to work out how to take an NSAttributedString and use it in Core Text on the iPad. I …
iphone objective-c ipad core-textI need to draw centered text to a CGContext. I started with a Cocoa approach. I created a NSCell with …
cocoa core-graphics core-textI'm trying to draw text using Core Text functions, with a line spacing that's as close as possible to what …
objective-c macos nstextview core-text nslayoutmanagerHere is my class and it'll draw a circle, it looks like this: class OvalLayer: CAShapeLayer { let animationDuration: CFTimeInterval = 0.3 override …
ios swift calayer core-text cashapelayerIn iOS7 CGContextSelectFont is deprecated. Deprecation message says that I have to use Core Text, but I don't know which …
iphone objective-c ios7 core-textAccording to the docs, CTFramesetterSuggestFrameSizeWithConstraints () "determines the frame size needed for a string range". Unfortunately the size returned by this …
cocoa cocoa-touch core-textI'm currently struggling with the need to display strikethrough text in many UITableViewCells. Something that written in HTML would looke …
iphone ios nsattributedstring strikethrough core-text