IGListKit/Examples/Examples-iOS/IGListKitExamples/Views/UserHeaderView.swift

34 lines
672 B
Swift
Raw Normal View History

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import UIKit
final class UserHeaderView: UICollectionViewCell {
@IBOutlet private weak var nameLabel: UILabel!
@IBOutlet private weak var handleLabel: UILabel!
var name: String? {
get {
return nameLabel.text
}
set {
nameLabel.text = newValue
}
}
var handle: String? {
get {
return handleLabel.text
}
set {
handleLabel.text = newValue
}
}
}