-
I've spent a lot of time in the past ensuring that the usual stacked borrows rules are upheld (for example ensuring that `&NSObject` and `&mut NSObject` never coexist), but I haven't actually ensured …
-
```
/Users/fractale/.pub-cache/hosted/pub.dev/video_compress-3.1.3/macos/Classes/VideoCompressPlugin.swift:229:17: warning: capture of 'timer' with non-sendable type 'Timer' in a `@Sendable` closure;…
-
import UIKit
import CoreML
import Vision
import AVFoundation
class VideoProcessor: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate {
// The CoreML model, assuming you have a model nam…
-
if superclass is NSObject.Type {
return nil
}
最新develop分支的Metadate.swift第158行编译报错,Cannot find type 'NSObject' in scope,怎么解决?
JQJoe updated
3 years ago
-
## 为了排除你自己的问题, 请写一个 Demo
线上日志收集到的崩溃,不是必现
**描述bug**
json转model崩溃,最近收集到不少类似的崩溃,堆栈的末尾基本上都是这种:
```
0 libobjc.A.dylib 0x00007fff6a2a76e5 objc_retain + 21
1 MJExtension …
-
After tapping _Learn_ action menu on selected text inside UITextView, `UITextField+BlocksKit` crashes the app.
The _Learn_ action menu is not shown on all iOS devices, you can use following `UITextVi…
-
We noticed that `hasattr()` on an instance of an `NSObject` is very slow compared to a pure Python instance. Slower by about a factor of 500.
Is this an unavoidable consequence of how the bridge wo…
-
I am trying to connect with MQTT with `.crt` certificate, I am getting this error.
`Disconnected from MQTT, error: Optional(Error Domain=MGCDAsyncSocketErrorDomain Code=8 "Error in SSLSetCertificate"…
-
Instead of `(asd is ASD) ? asd as? ASD : blabla` you should convert to `asd as? ASD ?? blabla`.
http://swiftify.me/6kcmho/1
-
I use pod install to install it, but something wrong happened.
![default](https://cloud.githubusercontent.com/assets/22358696/18943943/3dc1ea48-8655-11e6-9f70-08035263206f.png)