Code Monkey home page Code Monkey logo

Comments (8)

sablib avatar sablib commented on August 25, 2024

image

from mllabel.

sablib avatar sablib commented on August 25, 2024

尝试了一下NSTextStorage依然有崩溃。

from mllabel.

molon avatar molon commented on August 25, 2024

@sablib 可否麻烦提供个代码例子。 扣扣 瑶瑶其三儿儿而思儿

from mllabel.

sablib avatar sablib commented on August 25, 2024

@molon 这个不怎么好重现,我今天跑的时候,有时候几次就出现了,有时候几十次都不一定会出现。

会不会是因为这里执行的时候没有在主线程上面?

from mllabel.

molon avatar molon commented on August 25, 2024

@sablib 我这东西还是跑在主线程吧,不是主线程的话估计会有问题。你这边能确定出现这情况都是在非主线程么?

from mllabel.

sablib avatar sablib commented on August 25, 2024

@molon 这里的执行,算高的时候都不在主线程,显示的时候在主线程。
可以确定出问题的时候都是在非主线程上面。

from mllabel.

molon avatar molon commented on August 25, 2024

@sablib 嗯,了解了。很抱歉,算高支持非主线程有点难度。 一般我都是懒加载条数少点,并且对row记录高度防止重复计算来提高性能的。 虽然不极致,但是一般用起来是没有啥问题啦。 :)

from mllabel.

sablib avatar sablib commented on August 25, 2024

@molon 多谢哈!

from mllabel.

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.