// // TPSwitch.h // ThePaperBase // // Created by scar1900 on 15/10/27. // Copyright © 2015年 scar1900. All rights reserved. // #import @protocol TPSwitchDelegate - (BOOL)switchSuccess:(BOOL)on; @end @interface TPSwitch : UISwitch @property(nonatomic, weak)id delegate; @end