You may also want to look at my Xcode project that shows how to control hype elements and vice versa.
I wrote it a short while back so I have probably learnt some things since ( like getting into swift ) and it is in Objective - c but it may be helpful to you.
2 Likes