Results 9 comments of ArmsZhou

直接字典存,会导致内存释放失败的吧。

字典存放还是会导致强引用存放的对象。你可以试试对一个 VC 中控件用一个单例的字典属性保存,然后对这个控件发送通知。当 VC POP 的时候再对这个控件发送通知看看还能不能接收到。 On 2016年12月22日 +0800 AM10:43, CoderKo1o , wrote: > 字典存不会导致释放失败。因为如果对象应该被释放,就会直接删除字典,但是这样不是最合理的,更合理的应该是像楼上说的,采用弱引用 > — > You are receiving this because you commented. > Reply to this email...

// 采用NSMapTable存储对象,使用弱引用 NSMapTable *mapTable = [NSMapTable mapTableWithKeyOptions:NSMapTableCopyIn valueOptions:NSMapTableWeakMemory]; [mapTable setObject:self forKey:pointSelectorString]; [mapTable setObject:objects forKey:PYTHEME_COLOR_ARGS_KEY]; 你的第一个[mapTable setObject:self forKey:pointSelectorString];这个是合理的可以防止强引用控件。但是[mapTable setObject:objects forKey:PYTHEME_COLOR_ARGS_KEY];也设置为弱引用的话可能导致设置的参数数组会被释放掉。

> I did a little test. I unzip iOS 13.2.3's ipsw file, and put the bbfw of iOS 13 into iOS 13.2.3's `Firmware/` folder and recreate the ipsw, then, i...

> > I did a little test. I unzip iOS 13.2.3's ipsw file, and put the bbfw of iOS 13 into iOS 13.2.3's `Firmware/` folder and recreate the ipsw, then,...

> > > I did a little test. I unzip iOS 13.2.3's ipsw file, and put the bbfw of iOS 13 into iOS 13.2.3's `Firmware/` folder and recreate the ipsw,...

> One more question, did you leave both files or replace them with those from 13.3.1 to 13.2.3? > > > > > > Hice una pequeña prueba. Descomprimo el...

i tried to set none of any keys and values in the rules when i use local custom parser in the `commitlint.config.js` file,the headerPattern can be matched. ```js const types...

```python import gzip import io import codecs import struct from Crypto.Cipher import AES def logan_parse(infile, dst, key, iv): """ logan 文件解密 :param iv: aes key :param key: aes iv :param...