看来,Groovy的不支持break,并continue从封闭中.模拟这个的最佳方法是什么?
revs.eachLine { line ->
if (line ==~ /-{28}/) {
// continue to next line...
}
}
Run Code Online (Sandbox Code Playgroud) 我想在我的iPhone应用程序中使用PLDatabase框架.我已经将框架添加到我的Xcode项目中.但是,当我运行我的应用程序时,它崩溃并出现以下错误:
dyld: Library not loaded: @loader_path/../Frameworks/PlausibleDatabase.framework/Versions/A/PlausibleDatabase
Referenced from: /Users/todd/Library/Application Support/iPhone Simulator/User/Applications/BB3C66B2-A5BB-4329-B163-AB0072411AF1/Congress.app/Congress
Reason: image not found
Run Code Online (Sandbox Code Playgroud)
我不确定框架需要驻留在磁盘上的确切位置.
谢谢