Code Monkey home page Code Monkey logo

Comments (4)

fatuhoku avatar fatuhoku commented on July 29, 2024

I found this very relevant Radar report. The report says that one of the ways to reproduce this problem is:

  1. Set a header size in UICollectionView, but don't provide a supplementary view
  2. Invoke -performBatchUpdates with an empty block

But I haven't set any headers. Sure, I didn't provide an implementation to collectionView:viewForSupplementaryElementOfKind:atIndexPath:

from tlindexpathtools.

wtmoose avatar wtmoose commented on July 29, 2024

TLCollectionViewController has a default implementation of viewForSupplementaryElementOfKind. If you're subclassing this, check and see if it's returning nil. Other than this, TLIT has no connection with supplementary views.

from tlindexpathtools.

wtmoose avatar wtmoose commented on July 29, 2024

This seems done.

from tlindexpathtools.

fatuhoku avatar fatuhoku commented on July 29, 2024

Ya thanks for the info. I didn't think it was a problem with TLIT but I couldn't be sure, as the errors always look like they go through TLIT. I think the danger is that as a (very happy, I might add!) TLIT user, I expect things to 'just work' — and when it doesn't it's very surprising and it's hard to pinpoint where the fault lies.

I've had to go with a [collectionView reloadData] workaround, if I remember correctly.

from tlindexpathtools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.