Yaoyuan Guo

Results 161 comments of Yaoyuan Guo

默认实现是对所有属性进行判断。如果你的逻辑和这个不一样,那就需要手动修改 hash 和 isEqual 了(比如改成只根据 user.id 来判断相等)。

YYImage project does not support `xcassets` because it can't access the image data in the assets and the system image cache may cause memory problems. I recommend to use `[UIImage...

YYImage only hold the image data or image file path in memory, but `imageNamed` method may hold the decoded image data in memory and may cause memory warning. See also:...

我无法确定 UITextView 在内部是否有其他的私有逻辑、或者有其他的输入通知顺序,所以这里做不到和 UItextView 完全一致。。没什么太好的办法啊。。

这里只是给每个 poll 内的 queue 给一个上限值,并没有什么特殊含义。 除非在 有 32 线程以上的 CPU 上跑(双路至强E5?),不然这个值用不到。

由于这个库主要是为 OC 写的,Swift 相关并未完整测试,稍后会处理。

可以试试直接在头文件声明:https://github.com/ibireme/YYModel/issues/79

Seems that it's a crash in CoreGraphics, but I'm not sure. Can you provide the image data?

You should encode your image with "progressive" option, and then you may decode the image like this: https://github.com/ibireme/YYImage#image-decoder See also: https://github.com/ibireme/YYWebImage