Creating a custom slider using Sprite Kit - how do I pass a @selector?
A Sprite Kit game I'm working on uses a custom slider to act as a color picker (the color is picked from the slider track graphic, which is a UIImage containing a gradient). I looked into using a customised UISlider , but standard IOS UI controls don't play well with Sprite Kit's Scenes: they're difficult to position relative to the rest of the Scene (as they exist as a subview of the main View rather than as a part of a SKScene ), they pop into existence (rather than transitioning with the rest of the Scene) and must be manually removed when exiting the scene. In short, implementing them is a