mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-04-16 22:40:44 +08:00
32 lines
597 B
Swift
32 lines
597 B
Swift
//
|
|
// RepositoryReadmeModel.swift
|
|
// Freetime
|
|
//
|
|
// Created by Ryan Nystrom on 9/10/17.
|
|
// Copyright © 2017 Ryan Nystrom. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
import IGListKit
|
|
|
|
final class RepositoryReadmeModel: ListDiffable {
|
|
|
|
let models: [ListDiffable]
|
|
|
|
init(models: [ListDiffable]) {
|
|
self.models = models
|
|
}
|
|
|
|
// MARK: ListDiffable
|
|
|
|
func diffIdentifier() -> NSObjectProtocol {
|
|
return "readme" as NSObjectProtocol
|
|
}
|
|
|
|
func isEqual(toDiffableObject object: ListDiffable?) -> Bool {
|
|
// for use w/ binding SC
|
|
return true
|
|
}
|
|
|
|
}
|