mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-06-04 19:43:31 +08:00
31 lines
541 B
Swift
31 lines
541 B
Swift
//
|
|
// IssuePreviewModel.swift
|
|
// Freetime
|
|
//
|
|
// Created by Ryan Nystrom on 8/1/17.
|
|
// Copyright © 2017 Ryan Nystrom. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
import IGListKit
|
|
|
|
final class IssuePreviewModel: NSObject, ListDiffable {
|
|
|
|
let models: [ListDiffable]
|
|
|
|
init(models: [ListDiffable]) {
|
|
self.models = models
|
|
}
|
|
|
|
// MARK: ListDiffable
|
|
|
|
func diffIdentifier() -> NSObjectProtocol {
|
|
return self
|
|
}
|
|
|
|
func isEqual(toDiffableObject object: ListDiffable?) -> Bool {
|
|
return true
|
|
}
|
|
|
|
}
|