Connecting slider to separate graphics view in OS X Cocoa using Swift -
i have custom class containing slider , plotting code , these connected view in os x storyboard. unfortunately, slider in plotting area , can not place in different part of window since slider not recognized outside of plotting class. (this seemed easy in objective c using nibs). can suggest way of doing this? slider code is:
@ibaction func freqvalue(sender: nsslidercell) { freq = float(sender.doublevalue) display() }
the custom plotting class sinecurveview.
thanks!
can make outlet in appropriate view , set programmatically there? might not have full understanding of setup however, im on ios side.
Comments
Post a Comment