12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- //
- // CPDFSearchViewCell.swift
- // ComPDFKit_Tools
- //
- // Copyright © 2014-2024 PDF Technologies, Inc. All Rights Reserved.
- //
- // THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
- // AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
- // UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
- // This notice may not be removed from this file.
- //
- import UIKit
- class CPDFSearchViewCell: UITableViewCell {
- var contentLabel: UILabel?
-
- override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
- super.init(style: style, reuseIdentifier: reuseIdentifier)
-
- let contentLabel = UILabel(frame: self.bounds)
- contentLabel.autoresizingMask = [.flexibleWidth, .flexibleHeight]
- contentLabel.numberOfLines = 0
- self.contentLabel = contentLabel
- contentView.addSubview(contentLabel)
- }
- required init?(coder aDecoder: NSCoder) {
- fatalError("init(coder:) has not been implemented")
-
- }
- override func awakeFromNib() { super.awakeFromNib()
- // Initialization code
-
- }
- override func setSelected(_ selected: Bool, animated: Bool) {
- super.setSelected(selected, animated: animated)
- // Configure the view for the selected state
-
- }
- }
|