DevNotes icon indicating copy to clipboard operation
DevNotes copied to clipboard

个人开发笔记。

Results 5 DevNotes issues
Sort by recently updated
recently updated
newest added

- When an app is launched, the app’s code—which includes the code of the static libraries it was linked with—is loaded into the app’s address space.Applications with large executables suffer...

- (void)stopWritingWithError:(NSError **)error { self.isWriting = NO; dispatch_async(self.dispatchQueue, ^{ [self.assetWriter finishWritingWithCompletionHandler:^{ if (self.assetWriter.status == AVAssetWriterStatusCompleted) { dispatch_async(dispatch_get_main_queue(), ^{ if ([self.delegate respondsToSelector:@selector(videoWriter:didOutputVideoAtPath:)]) { [self.delegate videoWriter:self didOutputVideoAtPath:self.assetWriter.outputURL]; } }); } else {...

您好,我再一个开源库中发现这种情况,主程序中有日志模块,包含日志级别、日志文件等多种变量,另一个动态插件是通过dlopen打开的,也需要用到该日志模块。这样插件编译的时候不会编译不过吗?因为这些日志模块的变量、函数都是在主程序中的。请教!!