Skip to content

Commit 9e6837f

Browse files
patrick-tigerspikekzaher
authored andcommitted
Fix UISwitch documentation referencing UIButton
1 parent e978311 commit 9e6837f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RxCocoa/iOS/UISwitch+Rx.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ extension Reactive where Base: UISwitch {
2424
/**
2525
Reactive wrapper for `isOn` property.
2626

27-
**⚠️ Versions prior to iOS 10.2 were leaking `UIButton`s, so on those versions
27+
**⚠️ Versions prior to iOS 10.2 were leaking `UISwitch`s, so on those versions
2828
underlying observable sequence won't complete when nothing holds a strong reference
2929
to UISwitch.⚠️**
3030
*/

0 commit comments

Comments
 (0)