LT: Anyone done any benchmarking comparing, CATextLayer, UILabel and UIStringDrawing for drawing/animating lots of single character views?
Conversation
Do the characters change over time, or are you trying to do something like the QuickType animation?
1
mostly transform animations, preferably within a UIView animation block so that timing can match other animations.
1
1
Are you trying to bring the letters together into a correctly-kerned word?
1
Replying to
Render the finished string into a single buffer; display slices of that buffer with separate UIImageViews.
Replying to
You can create free slices with CGImageCreateWithImageInRect. Don't use -[CALayer contentsRect]: too many gotchas.
25
Replying to
thanks, I’ll give that a shot first, only concern is if I need to add shadow/blur effect which may cause slice overlap.
Replying to
1
1
could use NSLayoutManager to get glyphs / positions, render separately, turn off ligatures?
1
2
Show replies


