title: generic parameter 'FalseContent' could not be inferred
body: <p>I'm trying to create a 4x4 grid of images, and I'd like it to scale from 1 image up to 4. </p>
  
  <p>This code works when the images provided come from a regular array</p>
  
  <pre><code>var images = ["imageOne", "imageTwo", "imageThree", "imageFour"]
  </code></pre>
  
  <p>However it does not work if the array comes from an object we are bound to:</p>
  
  <pre><code>@ObjectBinding var images = ImageLoader() //Where our array is in images.images
  </code></pre>
  
  <p>My initialiser looks like this:</p>
  
  <pre><code>init(imageUrls urls: [URL]){
      self.images = ImageLoader(urls)
  }
  </code></pre>
  
  <p>And my <code>ImageLoader</code> class looks like this:</p>
  
  <pre><code>class ImageLoader: BindableObject {
      var didChange = PassthroughSubject&lt;ImageLoader, Never&gt;()
  
      var images = [UIImage]() {
          didSet{
              DispatchQueue.main.async {
                  self.didChange.send(self)
              }
          }
      }
  
      init(){
  
      }
  
      init(_ urls: [URL]){
          for image in urls{
              //Download image and append to images array
          }
      }
  }
  </code></pre>
  
  <p>The problem arises in my <code>View</code></p>
  
  <pre><code>var body: some View {
      return VStack {
          if images.images.count == 1{
              Image(images.images[0])
                  .resizable()
          } else {
              Text("More than one image")
          }
      }
  }
  </code></pre>
  
  <p>Upon compiling, I get the error <code>generic parameter 'FalseContent' could not be inferred</code>, where <code>FalseContent</code> is part of the SwiftUI <code>buildEither(first:)</code> function.</p>
  
  <p>Again, if <code>images</code>, instead of being a binding to <code>ImageLoader</code>, is a regular array of <code>String</code>s,  it works fine.</p>
  
  <p>I'm not sure what is causing the issue, it seems to be caused by the binding, but I'm not sure how else to do this.</p>