mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 09:32:52 +02:00
Address Steve's comments.
This commit is contained in:
@@ -21,9 +21,22 @@ final class Section: NSObject {
|
||||
|
||||
let tag: Int
|
||||
var rows: [Row]
|
||||
var headerTitle: String?
|
||||
var attributedHeaderTitle: NSAttributedString?
|
||||
var attributedFooterTitle: NSAttributedString?
|
||||
|
||||
var headerTitle: String? {
|
||||
get {
|
||||
attributedHeaderTitle?.string
|
||||
}
|
||||
set {
|
||||
guard let newValue = newValue else {
|
||||
attributedHeaderTitle = nil
|
||||
return
|
||||
}
|
||||
|
||||
attributedHeaderTitle = NSAttributedString(string: newValue)
|
||||
}
|
||||
}
|
||||
var footerTitle: String? {
|
||||
get {
|
||||
attributedFooterTitle?.string
|
||||
|
||||
Reference in New Issue
Block a user