0

I'm developing a prose book for iPhone. So I'm storing all of the poems and texts in core data. An entity named story and on attribute named details which contains the whole anecdote.

But the problem is here: if the user wants to touch the specific words and poems for their meaning and definition, how should I handle this task? How can I make those poems selectable? As like as built in dictionary in iPhone, user touches and hold his finger on a specific word, a popup appears and show the definition of the word!

a sample of book

Hashem Aboonajmi
  • 13,077
  • 8
  • 66
  • 75

1 Answers1

5

Do you show them in UILabel, if it is, you might interested in these :

gltaplabeldemo

rtlabel

ohattributedlabel

Good luck.

HelmiB
  • 12,303
  • 5
  • 41
  • 68