2019-12-19 17:32:49 +00:00
|
|
|
/*
|
2023-04-06 09:44:16 +00:00
|
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
2019-12-19 17:32:49 +00:00
|
|
|
*
|
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2016-11-07 14:37:37 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import UIKit
|
|
|
|
|
|
|
|
|
|
final class UserHeaderView: UICollectionViewCell {
|
2017-05-16 14:30:08 +00:00
|
|
|
|
2017-04-11 20:20:56 +00:00
|
|
|
@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
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-11-07 14:37:37 +00:00
|
|
|
|
|
|
|
|
}
|