我希望没有人告诉我RTFM,因为我在这里和Apple Developer上一直在努力解决这个问题并进行大量搜索.
我在此声明中收到EXC-BAD-ACCESS错误:
var thisPredicate = NSPredicate(format: "(sectionNumber == %@"), thisSection)
Run Code Online (Sandbox Code Playgroud)
thisSection的Int值为1,当我将鼠标悬停在其上时显示值1.但是在调试区域我看到了这个:
thisPredicate = (_ContiguousArrayStorage ...)
Run Code Online (Sandbox Code Playgroud)
使用String的另一个谓词显示为ObjectiveC.NSObject为什么会发生这种情况?