mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-03-21 06:40:36 +00:00
* Search example with IGListKit * Cleanup * updated to use new class methods [ASIGListSectionControllerMethods]
19 lines
414 B
Swift
19 lines
414 B
Swift
//
|
|
// NSObject+IGListDiffable.swift
|
|
// RepoSearcher
|
|
//
|
|
// Created by Marvin Nazari on 2017-02-18.
|
|
// Copyright © 2017 Marvin Nazari. All rights reserved.
|
|
//
|
|
|
|
import IGListKit
|
|
|
|
extension NSObject: IGListDiffable {
|
|
public func diffIdentifier() -> NSObjectProtocol {
|
|
return self
|
|
}
|
|
public func isEqual(toDiffableObject object: IGListDiffable?) -> Bool {
|
|
return isEqual(object)
|
|
}
|
|
}
|