mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-06-02 06:30:26 +08:00
28 lines
578 B
Swift
28 lines
578 B
Swift
//
|
|
// IssueLabeledCell.swift
|
|
// Freetime
|
|
//
|
|
// Created by Ryan Nystrom on 6/6/17.
|
|
// Copyright © 2017 Ryan Nystrom. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
import SnapKit
|
|
|
|
final class IssueLabeledCell: AttributedStringCell {
|
|
|
|
static let insets = UIEdgeInsets(
|
|
top: Styles.Sizes.inlineSpacing,
|
|
left: Styles.Sizes.eventGutter,
|
|
bottom: Styles.Sizes.inlineSpacing,
|
|
right: Styles.Sizes.eventGutter
|
|
)
|
|
|
|
// MARK: Public API
|
|
|
|
func configure(_ model: IssueLabeledModel) {
|
|
set(attributedText: model.attributedString)
|
|
}
|
|
|
|
}
|