ganvinalix
ganvinalix
主线程卡死问题
**OC部分:** 一个简单对象 ``` @interface NewObject : NSObject @property (nonatomic,strong) NSString *property1; @end @implementation NewObject @end ``` ViewController中人为点击触发toTestJSPath ``` -(void)toTestJSPath:(id)sender { dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^ { for (NSUInteger i = 0; i
0. 写Plist文件 `[self.localNewPromptDic writeToFile:pListPath atomically:YES];` 1.系统调用,此时申请了lock ``` - (void)enumerateKeysAndObjectsWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^)(id key, id obj, BOOL *stop))block { LOCK([_dic enumerateKeysAndObjectsWithOptions:opts usingBlock:block]); } ``` 2. enumerateKeysAndObjectsWithOptions iOS 14.5 会调用 hash 以前系统不会,再次申请所了卡死 ```...
@ibireme 对于容器类需在modelContainerPropertyGenericClass 里面设定容器类型,有时候会忘记设置或者不小心被干掉了,容器里面的保留的数据将是字典类型。这样外面业务层访问有可能会崩溃。能不能有办法 如果类型不匹配就直接返回nil 给这个容器呢?或者如果这个问题不普遍,我想自己定制yymodel?请教下有方案吗

This can not work on centos 7.0
testdfasdfdfadf
``` llvm::opt::InputArgList::~InputArgList() in libclangDriver.a(Compilation.cpp.o) llvm::opt::InputArgList::~InputArgList() in libclangDriver.a(Driver.cpp.o) llvm::opt::InputArgList::InputArgList(llvm::opt::InputArgList&&) in libclangDriver.a(Driver.cpp.o) ``` NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "vtable for llvm::opt::DerivedArgList", referenced...
`dispatch_async(dispatch_get_global_queue(0, 0), ^{ // something for (NSInteger i = 0; i < 5000 ; i ++) { NSLog(@"index----- %@",@(i)); NSString * ddd = [KGPrintThreadSnapshoot bs_backtraceOfCurrentThread]; NSLog(@"bs_backtraceOfCurrentThread----- %@",ddd); } });` 打印结果:...
获取bundle id ios7 系统不支持吗?