gontovnik / DGRunkeeperSwitch

Runkeeper design switch control
MIT License
1.88k stars 175 forks source link

How can I change the segment programatically? #15

Closed LuaiKalkatawi closed 8 years ago

LuaiKalkatawi commented 8 years ago

I'm trying to find out how to change the the segment programatically?

gontovnik commented 8 years ago

public func setSelectedIndex(selectedIndex: Int, animated: Bool)