{"id":381,"date":"2011-08-18T16:41:41","date_gmt":"2011-08-18T21:41:41","guid":{"rendered":"http:\/\/www.juggleware.com\/blog\/?p=381"},"modified":"2011-08-18T16:41:41","modified_gmt":"2011-08-18T21:41:41","slug":"drawing-text-on-an-arc-in-cocoatouch","status":"publish","type":"post","link":"https:\/\/www.juggleware.com\/blog\/2011\/08\/drawing-text-on-an-arc-in-cocoatouch\/","title":{"rendered":"Drawing Text on an Arc in CocoaTouch"},"content":{"rendered":"<p>CoreText is available now in iOS, but it&#8217;s not an easy framework to use. After trying several other approaches to draw text on an arc at this <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/stackoverflow.com\/questions\/3841642\/curve-text-on-existing-circle');\"  href=\"http:\/\/stackoverflow.com\/questions\/3841642\/curve-text-on-existing-circle\">Stack Overflow page,<\/a>\u00a0 I adapted Apple&#8217;s sample code \u00a0<a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/developer.apple.com\/library\/mac\/#samplecode\/CoreTextArcCocoa\/Introduction\/Intro.html');\"  href=\"https:\/\/developer.apple.com\/library\/mac\/#samplecode\/CoreTextArcCocoa\/Introduction\/Intro.html\">CoreTextArcCocoa<\/a> for Mac class for iOS.<\/p>\n<p><a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/stackoverflow.com\/questions\/3841642\/curve-text-on-existing-circle\/7114184#7114184');\"  href=\"http:\/\/stackoverflow.com\/questions\/3841642\/curve-text-on-existing-circle\/7114184#7114184\">Here&#8217;s the code<\/a>. Hope it proves useful to someone. Please let me know in the comments if it does!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CoreText is available now in iOS, but it&#8217;s not an easy framework to use. After trying several other approaches to draw text on an arc at this Stack Overflow page,\u00a0 I adapted Apple&#8217;s sample code \u00a0CoreTextArcCocoa for Mac class for &hellip; <a href=\"https:\/\/www.juggleware.com\/blog\/2011\/08\/drawing-text-on-an-arc-in-cocoatouch\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,49],"tags":[20,80,68,113,71],"class_list":["post-381","post","type-post","status-publish","format-standard","hentry","category-iphone-dev","category-programming","tag-apple","tag-core-text","tag-ios4","tag-iphone-dev","tag-objective-c"],"_links":{"self":[{"href":"https:\/\/www.juggleware.com\/blog\/wp-json\/wp\/v2\/posts\/381","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.juggleware.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.juggleware.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.juggleware.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.juggleware.com\/blog\/wp-json\/wp\/v2\/comments?post=381"}],"version-history":[{"count":3,"href":"https:\/\/www.juggleware.com\/blog\/wp-json\/wp\/v2\/posts\/381\/revisions"}],"predecessor-version":[{"id":384,"href":"https:\/\/www.juggleware.com\/blog\/wp-json\/wp\/v2\/posts\/381\/revisions\/384"}],"wp:attachment":[{"href":"https:\/\/www.juggleware.com\/blog\/wp-json\/wp\/v2\/media?parent=381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.juggleware.com\/blog\/wp-json\/wp\/v2\/categories?post=381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.juggleware.com\/blog\/wp-json\/wp\/v2\/tags?post=381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}