IGListKit/Examples/Examples-iOS/IGListKitExamples/Models/SwipeActionSection.swift
Maxime Ollivier d01784bd66 add swipe action to UICollectionViewCompositionalLayout example
Summary: Lets add swipe to delete.

Differential Revision: D52262785

fbshipit-source-id: b95cdee116374c561967dd585d02110a4d877e16
2023-12-19 07:17:30 -08:00

25 lines
536 B
Swift

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import IGListKit
import Foundation
final class SwipeActionSection: NSObject {
}
extension SwipeActionSection: ListDiffable {
func diffIdentifier() -> NSObjectProtocol {
return self
}
func isEqual(toDiffableObject object: ListDiffable?) -> Bool {
return self === object ? true : self.isEqual(object)
}
}