Skip to content

Commit c47bc4b

Browse files
authored
Merge pull request #226 from acerbetti/develop
Added missing setter in SCLSwitchView
2 parents 38cbe59 + af42684 commit c47bc4b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

SCLAlertView/SCLSwitchView.m

+5
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,9 @@ - (void)setLabelText:(NSString *)labelText
132132
self.switchLabel.text = labelText;
133133
}
134134

135+
- (void)setSelected:(BOOL)selected
136+
{
137+
self.switchKnob.on = selected;
138+
}
139+
135140
@end

0 commit comments

Comments
 (0)