metatext/Views/UIKit/Collection View Cells/SeparatorConfiguredCollectionViewListCell.swift

15 lines
484 B
Swift
Raw Normal View History

// Copyright © 2021 Metabolist. All rights reserved.
import UIKit
class SeparatorConfiguredCollectionViewListCell: UICollectionViewListCell {
override func updateConstraints() {
super.updateConstraints()
NSLayoutConstraint.activate([
separatorLayoutGuide.leadingAnchor.constraint(equalTo: safeAreaLayoutGuide.leadingAnchor),
separatorLayoutGuide.trailingAnchor.constraint(equalTo: safeAreaLayoutGuide.trailingAnchor)
])
}
}