FWMultilineComponentView

final class FWMultilineComponentView : UITableViewCell, FWComponentCell
extension FWMultilineComponentView: FWMultilineComponentViewModelDelegate
extension FWMultilineComponentView: UITextViewDelegate

Visual representation for the multiline component. Subclasses UITableViewCell.

Properties

  • Component class cell identifier.

    Declaration

    Swift

    static var identifier: String { get }

Init

API

  • Component cell behaviour configuration.

    Declaration

    Swift

    func configure(with viewModel: FWComponentViewModel)

    Parameters

    viewModel

    The viewModel that will be linked to this view.

ViewModel Delegate

  • Update the checkmark symbol.

    Declaration

    Swift

    func update()

UITextViewDelegate

  • 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.