SwiftKickMobile / TLIndexPathTools

TLIndexPathTools is a small set of classes that can greatly simplify your table and collection views.
tlindexpathtools.com
MIT License
347 stars 60 forks source link

Swift support #59

Open fatuhoku opened 9 years ago

fatuhoku commented 9 years ago

With Swift's advocation of using value types, TLIndexPathTools might benefit from a more clear distinction between classes vs. structs when deriving whether something was added, removed, deleted or modified.

Struct modification is detected as ADD + DELETE but perhaps a protocol could be introduced to identify cases when they are modified...?

wtmoose commented 8 years ago

Given that the data model takes an array of objects, could you elaborate on how you're incorporating structs?