Adding New Emoji |

This is a companion discussion topic for the original entry at

Hi Pasan! Great course so far! I have a question about the logic in prepareForSegue. Would you have anything against using the value of the cell’s label to pass to the detail controller? i.e. emojiDetailController.emoji = emojiCell.emojiLabel.text

1 Like

None at all, that’s a good suggestion. My preference would be to only get data from the data model that way you have “one source of truth” but in this case I see no issues