Results 46 comments of cntrump

> 楼上都搞的太复杂了,只需要几个简单的if-else就可以优化95%的遍历次数。 毕竟firstView与secondView,在大多数场景下都是父子关系 or 兄弟关系。 > > 优化代码如下: > > ```objc > #pragma mark - heirachy > > - (instancetype)mas_closestCommonSuperview:(MAS_VIEW *)view { > MAS_VIEW *closestCommonSuperview = nil; > > //...

> Is it correct that you'd like to override the zlib found automatically by CMake to one that's necessary for your cross-target? > > If so, have you tried this...

> Would this work in your case to spec the .tbd?: > > ``` > -DZLIB_LIBRARY=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/lib/libz.tbd > ``` > > (replace with your custom full path) Works, thanks !

Take a look: https://github.com/Longhanks/swiftmine

v5 中的官方文档是错的,比如加密方式 `aes-128-gcm` 写法就不能正确运行,参考实现代码应该要写为 `AES_128_GCM`

这里的配置是解决 macOS 15 的网络问题,要完美兼容还是做成 Network Extension 才行。