Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    jkennington
    @jkennington
    I'm getting this when running an app with ReactiveArray added via Carthage: "dyld: Library not loaded: @rpath/Result.framework/Result ... Reason: Incompatible library version: ReactiveArray requires version 1.0.0 or later, but Result provides version 0.6.0"
    Guido Marucci Blas
    @guidomb
    Which version of ReactiveArray are you using?
    jkennington
    @jkennington
    The master branch.
    0.3.0
    Guido Marucci Blas
    @guidomb
    Can you post your Cartfile?
    jkennington
    @jkennington
    Yes.
    I'm making a bare bones test right now in a clean project.
    It could very well be my problem.
    github "emaloney/CleanroomLogger"
    github "Wolox/ReactiveArray"
    I'm very new to Carthage.
    Guido Marucci Blas
    @guidomb
    try doing github “Wolox/RactiveArray” ~> 0.3.0
    then carthage update
    and then if the problem is still happening post your Cartfile.resolved
    jkennington
    @jkennington
    github "emaloney/CleanroomASL" "1.3.3"
    github "antitypical/Result" "76f9a972ed61ff872b731460bc610c8acbfae58c"
    github "emaloney/CleanroomLogger" "1.5.3"
    github "ReactiveCocoa/ReactiveCocoa" "8ebff4f192ad11dfc62c55e8151c235d005f390b"
    github "Wolox/ReactiveArray" "v0.3.0"
    But it is working in the barebones project.
    So it is sure to be my fault in my setup somehow.
    Guido Marucci Blas
    @guidomb
    That should be working. I have a project with ReactiveCocoa, ReactiveArray and Result and my Cartfile.resolved is using the same commit hashes for each dependency.
    jkennington
    @jkennington
    I was. Don't know what was going wrong. I started a new project, set that up again and readded my other source. It works.
    Thanks.
    I have a question about the behavior of insert:atIndex. If I with an Array<Int> of [1,2,3]. If I insert 4 at index 0 I get [4,1,2,3]. With ReactiveArray<Int> I would get [4,1,2]. Is this intentional?
    jkennington
    @jkennington
    In ReactiveArray.swift:139 should it be _elements.insert(value, atIndex: index) instead of _elements[index] = value?
    Guido Marucci Blas
    @guidomb
    Well no it wasn’t intentional
    It is actually a bug
    Wolox/ReactiveArray#15
    I would try to fix this on the weekend. PR are welcomed!
    jkennington
    @jkennington
    PR submitted. I had to add another operation (.Update) so subscripting worked as expected while fixing the .Insert operation to work as it should.
    Guido Marucci Blas
    @guidomb
    Perfect! Thanks
    New release