mastodon-ios/Mastodon/Scene/Share/View/TableviewCell/TimelineTopLoaderTableViewC...

37 lines
685 B
Swift
Raw Normal View History

2021-04-13 13:46:42 +02:00
//
// TimelineTopLoaderTableViewCell.swift
// Mastodon
//
// Created by MainasuK Cirno on 2021-4-12.
//
import UIKit
import Combine
final class TimelineTopLoaderTableViewCell: TimelineLoaderTableViewCell {
override func _init() {
super._init()
activityIndicatorView.isHidden = false
startAnimating()
}
}
#if canImport(SwiftUI) && DEBUG
import SwiftUI
struct TimelineTopLoaderTableViewCell_Previews: PreviewProvider {
static var previews: some View {
UIViewPreview(width: 375) {
TimelineTopLoaderTableViewCell()
}
.previewLayout(.fixed(width: 375, height: 100))
}
}
#endif