FWMultilineComponentView
final class FWMultilineComponentView : UITableViewCell, FWComponentCell
extension FWMultilineComponentView: FWMultilineComponentViewModelDelegate
extension FWMultilineComponentView: UITextViewDelegate
Visual representation for the multiline component. Subclasses UITableViewCell
.
-
Component class cell identifier.
Declaration
Swift
static var identifier: String { get }
-
Declaration
Swift
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?)
-
Component cell behaviour configuration.
Declaration
Swift
func configure(with viewModel: FWComponentViewModel)
Parameters
viewModel
The viewModel that will be linked to this view.
-
Update the checkmark symbol.
Declaration
Swift
func update()
-
Tells the delegate when the user changes the text or attributes in the specified text view.
The text view calls this method in response to user-initiated changes to the text. This method is not called in response to programmatically initiated changes. Implementation of this method is optional.
Declaration
Swift
func textViewDidChange(_ textView: UITextView)
Parameters
textView
The text view containing the changes.