ming zhao

Results 7 issues of ming zhao

这个如果链表的第一个节点和第二个节点相同,代码里第一个节点没有移除,比如1->1->2.

// .h文件 @property (nonatomic, copy) NSMutableArray *mutableArray; // .m文件 NSMutableArray *array = [NSMutableArray arrayWithObjects:@1,@2,nil]; self.mutableArray = array; [self.mutableArray removeObjectAtIndex:0]; 因为关键词是copy,所以self.mutableArray是NSArray, 但是array得地址和self.mutableArray的地址是不一样的,有什么方法能让array得地址和self.mutableArray的地址不一样,同时使self.mutableArray是NSMutableArray

你好,你那个uiwebview和js交互的demo是哪一个

大佬,我用了这种HWThrottleModeLeading模式,写了个代码想测试下连续点击的问题: - (void)testThrottle { [self.testThrottler call]; [self.testThrottler call]; } 我在方法里连续调用了两次call想模拟连续点击的情况,发现还是连续调用了两次,应该是第二次call的时候dispatch_async的block还没执行,lastRunTaskDate没有更新: - (void)runTaskDirectly { dispatch_async(self.queue, ^{ if (self.taskBlock) { self.taskBlock(); } self.lastRunTaskDate = [NSDate date]; }); } 如果把 self.lastRunTaskDate = [NSDate...

I want to only enable KSCrashMonitorTypeNSException and disable other KSCrashMonitorType,I Wrote the following code ``` KSCrashInstallationStandard* standard = [KSCrashInstallationStandard sharedInstance]; [KSCrash sharedInstance].monitoring = KSCrashMonitorTypeMachException; [standard install]; ``` but above codes...

填写完服务器地址,用户名和密码后点击登录报错: 16:26:23.584 tsx0x10113f6a8 ...Failed to send Request msg REGISTER/cseq=58804 (tdta0x101084400)! err=120065 (No route to host) 16:26:23.584 pjsua_acc.c .....SIP registration failed, status=503 (No route to host) 16:26:23.585 sip_reg.c ..Error sending request,...