Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Core Text examples for iPhone/iPad

I am looking for a Core Text example for iphone/ipad but with little luck. Any leads would be appreciated.

like image 983
LK. Avatar asked Mar 15 '10 12:03

LK.


People also ask

What is core text in iOS?

Core Text provides a low-level programming interface for laying out text and handling fonts. The Core Text layout engine is designed for high performance, ease of use, and close integration with Core Foundation.

How do I get my iPhone texts on my iPad?

On your iPhone, go to Settings > Messages > Text Message Forwarding. * Then choose which devices can send and receive text messages from your iPhone. If you're not using two-factor authentication for your Apple ID, a verification code appears on each of your other devices: enter that code on your iPhone.


2 Answers

I have written a small project on Github that provides an Objective-C wrapper for Core Text: https://github.com/akosma/CoreTextWrapper In particular, it takes any string and renders it over multiple pages, with multiple columns each page. Hope it helps!

like image 157
Adrian Kosmaczewski Avatar answered Sep 25 '22 12:09

Adrian Kosmaczewski


You can find an example of column layout tweaked to work with iPhone/iPad here: http://foobarpig.com/iphone/coretext-example-column-layout-with-correctly-inverted-text.html

like image 31
sniurkst Avatar answered Sep 25 '22 12:09

sniurkst