diff --git a/Source/Model/RadioSection.swift b/Source/Model/RadioSection.swift index d09228f5..f8a76de5 100644 --- a/Source/Model/RadioSection.swift +++ b/Source/Model/RadioSection.swift @@ -49,7 +49,7 @@ open class RadioSection: Section { return options } set { - options = rows as? [OptionRowCompatible] ?? options + options = newValue as? [OptionRowCompatible] ?? options } } diff --git a/Source/Protocol/Row.swift b/Source/Protocol/Row.swift index 236b9d2f..7916b3ac 100644 --- a/Source/Protocol/Row.swift +++ b/Source/Protocol/Row.swift @@ -27,7 +27,7 @@ import Foundation /// Any type that conforms to this protocol is capable of representing a row in a table view. -public protocol Row { +public protocol Row: class { /// The title text of the row. var title: String { get }