mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-06-13 01:08:17 +08:00
31 lines
557 B
Swift
31 lines
557 B
Swift
//
|
|
// IssueCommentSummaryModel.swift
|
|
// Freetime
|
|
//
|
|
// Created by Ryan Nystrom on 5/22/17.
|
|
// Copyright © 2017 Ryan Nystrom. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
import IGListKit
|
|
|
|
final class IssueCommentSummaryModel: ListDiffable {
|
|
|
|
let summary: String
|
|
|
|
init(summary: String) {
|
|
self.summary = summary
|
|
}
|
|
|
|
// MARK: ListDiffable
|
|
|
|
func diffIdentifier() -> NSObjectProtocol {
|
|
return summary as NSObjectProtocol
|
|
}
|
|
|
|
func isEqual(toDiffableObject object: ListDiffable?) -> Bool {
|
|
return true
|
|
}
|
|
|
|
}
|