synesthesia-it / Boomerang

Swift micro-framework for MVVM (Model-View-ViewModel) native applications.
MIT License
36 stars 10 forks source link

DataHolder does not conform to protocol RandomAccessCollection, Collection, BidirectionalCollection #36

Closed DhananjayMagdum closed 3 years ago

DhananjayMagdum commented 3 years ago

After compiling my project on Xcode 13, I am getting errors. On Xcode 11 and 12 it's compiling.

'DataHolder does not conform to protocol RandomAccessCollection' 'DataHolder does not conform to protocol BidirectionalCollection' 'DataHolder does not conform to protocol Collection' 'Unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'RandomAccessCollection'

stefanomondino commented 3 years ago

@DhananjayMagdum hi, that's an error from an old version of Boomerang, the "v5".

use the v5 branch, I've fixed it a couple of weeks ago.

if you're using a local copy of Boomerang, check this out -> https://github.com/synesthesia-it/Boomerang/commit/84206e63c5754337807983cc2802d74917a4244b

you have to delete/comment out the public typealias Subsequence = DataGroup.Subsequence