diff --git a/TGPControlsDemo/TGPControlsDemo/ViewController.swift b/TGPControlsDemo/TGPControlsDemo/ViewController.swift index 1f6053e..39157f5 100644 --- a/TGPControlsDemo/TGPControlsDemo/ViewController.swift +++ b/TGPControlsDemo/TGPControlsDemo/ViewController.swift @@ -51,7 +51,7 @@ class ViewController: UIViewController { self.switch1Camel.names = ["OFF", "ON"] self.switch2Camel.names = ["O", "l"] - // Match the ticks spacing exactly + // Automatically track tick spacing changes self.alphabetSlider.ticksListener = self.alphabetLabels self.oneTo10Slider.ticksListener = self.oneTo10Labels } diff --git a/TGPControlsDemo7/TGPControlsDemo7/ViewController.m b/TGPControlsDemo7/TGPControlsDemo7/ViewController.m index c06d2e0..845a10b 100644 --- a/TGPControlsDemo7/TGPControlsDemo7/ViewController.m +++ b/TGPControlsDemo7/TGPControlsDemo7/ViewController.m @@ -64,7 +64,7 @@ self.switch1Camel.names = @[@"OFF", @"ON"]; self.switch2Camel.names = @[@"O", @"l"]; - // Match the ticks spacing exactly + // Automatically track tick spacing changes self.alphabetSlider.ticksListener = self.alphabetLabels; self.oneTo10Slider.ticksListener = self.oneTo10Labels; }