Skip to content

Commit

Permalink
Improve code
Browse files Browse the repository at this point in the history
  • Loading branch information
mvasilak committed Aug 10, 2024
1 parent 5d18d2b commit 6433d3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import RxSwift
final class TextContentEditCell: RxTableViewCell {
let attributedTextAndHeightReloadNeededObservable: PublishSubject<(NSAttributedString, Bool)>

private var lineView: UIView?
private var textView: FormattedTextView?
private weak var lineView: UIView?
private weak var textView: FormattedTextView?

override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
attributedTextAndHeightReloadNeededObservable = PublishSubject()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import UIKit
import RxSwift

final class ItemDetailTitleContentView: UIView {
private var textView: FormattedTextView!
private var topConstraint: NSLayoutConstraint!
private var bottomConstraint: NSLayoutConstraint!
private var separatorHeight: NSLayoutConstraint!
private weak var textView: FormattedTextView!
private weak var topConstraint: NSLayoutConstraint!
private weak var bottomConstraint: NSLayoutConstraint!
private weak var separatorHeight: NSLayoutConstraint!

var attributedTextObservable: Observable<NSAttributedString> {
textView.attributedTextObservable
Expand Down

0 comments on commit 6433d3f

Please sign in to comment.