# Text Kit Tutorial: Getting Started | Ray Wenderlich

**URL:** <https://forums.kodeco.com/t/text-kit-tutorial-getting-started-ray-wenderlich/49118>\
**Category:** 🎓 Courses & Articles\
**Created:** [September 12, 2018, 3:24pm UTC](https://forums.kodeco.com/t/text-kit-tutorial-getting-started-ray-wenderlich/49118 "2018-09-12T15:24:41Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmorefield](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/bmorefield/32/111506_2.png) [@bmorefield](https://forums.kodeco.com/u/bmorefield)\
**Post date:** [September 12, 2018, 3:24pm UTC](https://forums.kodeco.com/t/text-kit-tutorial-getting-started-ray-wenderlich/49118/1 "2018-09-12T15:24:41Z")

</div>

In this tutorial, you’ll learn how to use Text Kit in your iOS app to layout your text and create different visual styles.

* * *
This is a companion discussion topic for the original entry at [https://www.raywenderlich.com/5960-text-kit-tutorial-getting-started](https://www.raywenderlich.com/5960-text-kit-tutorial-getting-started)

---

<div class="post-metadata">

**Author:** ![ilhankorkmaz](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/ilhankorkmaz/32/81494_2.png) [@ilhankorkmaz](https://forums.kodeco.com/u/ilhankorkmaz)\
**Post date:** [September 13, 2018, 3:33pm UTC](https://forums.kodeco.com/t/text-kit-tutorial-getting-started-ray-wenderlich/49118/2 "2018-09-13T15:33:18Z")

</div>

Hi,  
Why does using letterpressStyle slows down the app?

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [September 13, 2018, 4:23pm UTC](https://forums.kodeco.com/t/text-kit-tutorial-getting-started-ray-wenderlich/49118/3 "2018-09-13T16:23:51Z")

</div>

@bmorefield Can you please help with this when you get a chance? Thank you - much appreciated! :]

---

<div class="post-metadata">

**Author:** ![bmorefield](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/bmorefield/32/111506_2.png) [@bmorefield](https://forums.kodeco.com/u/bmorefield)\
**Post date:** [September 13, 2018, 11:32pm UTC](https://forums.kodeco.com/t/text-kit-tutorial-getting-started-ray-wenderlich/49118/4 "2018-09-13T23:32:49Z")

</div>

@ilhankorkmaz The letterpress effect needs additional graphics for the shadows and highlights that give the appearance of text pressed into paper. Those added graphics require extra graphics resources for display compared to the standard font.

---

<div class="post-metadata">

**Author:** ![xs6615](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/xs6615/32/81494_2.png) [@xs6615](https://forums.kodeco.com/u/xs6615)\
**Post date:** [October 17, 2018, 5:03pm UTC](https://forums.kodeco.com/t/text-kit-tutorial-getting-started-ray-wenderlich/49118/5 "2018-10-17T17:03:01Z")

</div>

All of you, great tutorial. Helped me understand this segment much better.  
One question: Now that I understand the the features of Text Kit, can you point me in the direction of allowing the users to select these options, but as a smaller popup view, as Apple does, rather than asking them to insert characters?  
Not necessarily asking how to do it, but pointing me in the right direction.  
Thank you!  
David

---

<div class="post-metadata">

**Author:** ![bmorefield](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/bmorefield/32/111506_2.png) [@bmorefield](https://forums.kodeco.com/u/bmorefield)\
**Post date:** [October 25, 2018, 12:08am UTC](https://forums.kodeco.com/t/text-kit-tutorial-getting-started-ray-wenderlich/49118/6 "2018-10-25T00:08:07Z")

</div>

@xs6615 To clarify, are you looking to provide the user options so they can set the formatting of text in an app?

---

<div class="post-metadata">

**Author:** ![xs6615](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/xs6615/32/81494_2.png) [@xs6615](https://forums.kodeco.com/u/xs6615)\
**Post date:** [October 25, 2018, 2:34pm UTC](https://forums.kodeco.com/t/text-kit-tutorial-getting-started-ray-wenderlich/49118/7 "2018-10-25T14:34:59Z")

</div>

Yes, they press and hold and a small popup appears with options, such a Bold, italic…

---

<div class="post-metadata">

**Author:** ![bmorefield](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/bmorefield/32/111506_2.png) [@bmorefield](https://forums.kodeco.com/u/bmorefield)\
**Post date:** [November 6, 2018, 1:42am UTC](https://forums.kodeco.com/t/text-kit-tutorial-getting-started-ray-wenderlich/49118/8 "2018-11-06T01:42:10Z")

</div>

@xs6615 In short, you’d need to build a UI that shows the options. This could be a button bar with tapping each button linked to an action or a popup menu using a method like UIAlertController. When one of these is selected, you’d change the text using the calls from the tutorial to reflect the user’s request.

---

<div class="post-metadata">

**Author:** ![xs6615](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/xs6615/32/81494_2.png) [@xs6615](https://forums.kodeco.com/u/xs6615)\
**Post date:** [November 6, 2018, 6:18am UTC](https://forums.kodeco.com/t/text-kit-tutorial-getting-started-ray-wenderlich/49118/9 "2018-11-06T06:18:20Z")

</div>

Thank you, I will give it a try

---

<div class="post-metadata">

**Author:** ![mfcollins3](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/mfcollins3/32/102075_2.png) [@mfcollins3](https://forums.kodeco.com/u/mfcollins3)\
**Post date:** [April 24, 2019, 7:45pm UTC](https://forums.kodeco.com/t/text-kit-tutorial-getting-started-ray-wenderlich/49118/10 "2019-04-24T19:45:07Z")

</div>

In the `performReplacementsForRange` method, the `extendedRange` variable is initialized and then its value is overwritten without reference it. It seems like the initial value isn’t necessary.

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [May 2, 2019, 12:08am UTC](https://forums.kodeco.com/t/text-kit-tutorial-getting-started-ray-wenderlich/49118/11 "2019-05-02T00:08:24Z")

</div>

This tutorial is more than six months old so questions are no longer supported at the moment for it. Thank you!

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [May 2, 2019, 12:08am UTC](https://forums.kodeco.com/t/text-kit-tutorial-getting-started-ray-wenderlich/49118/12 "2019-05-02T00:08:27Z")

</div>

Closed on May 2, 2019, 12:08am UTC


