Update ViewController.swift
Update ViewController.swift

Change from example view controller to add target for `.valueChanged` instaed of `touchUpInside`.
csjlengxiang/DGRunkeeperSwitch,gontovnik/DGRunkeeperSwitch,gontovnik/DGRunkeeperSwitch,csjlengxiang/DGRunkeeperSwitch