call external (from cell content) function

  1. 3 years ago


    i use a min class call newsFeedCointroller as UICollectionViewController.

    1. in cell inside i have a newsfeed with a like button (to populate the cell I use a class called "FeedCell")
    2. out from cells (in mainview) i have a label (labelX) used for "splash message" with a function called "messageAnimated"

    how can i call the "messageAnimated" function from the button inside the cells.

    i want to to change the label text to for example: "you just liked it"...

    thanks for helping me

or Sign Up to reply!