39 lines
894 B
Swift
39 lines
894 B
Swift
//
|
|
// AlertsSeismicNotificationCompactTableViewCell.swift
|
|
// Earthquake Network
|
|
//
|
|
// Created by Busi Andrea on 05/10/2020.
|
|
// Copyright © 2020 Earthquake Network. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
|
|
class AlertsSeismicNotificationCompactTableViewCell: EQNBaseTableViewCell {
|
|
|
|
typealias DefaultCompletion = () -> Void
|
|
|
|
@objc var onTapAlertTest: DefaultCompletion?
|
|
@objc var onTapSimulator: DefaultCompletion?
|
|
@objc var onTapHowItWorks: DefaultCompletion?
|
|
@objc var onTapShareApp: DefaultCompletion?
|
|
|
|
// MARK: - Actions
|
|
|
|
@IBAction private func testAlertTapped() {
|
|
onTapAlertTest?()
|
|
}
|
|
|
|
@IBAction private func simulatorTapped() {
|
|
onTapSimulator?()
|
|
}
|
|
|
|
@IBAction private func howItWorksTapped() {
|
|
onTapHowItWorks?()
|
|
}
|
|
|
|
@IBAction private func shareAppTapped() {
|
|
onTapShareApp?()
|
|
}
|
|
}
|