How do I change this value directoryPath
let directoryPath = String(URL(fileURLWithPath: filePath).deletingLastPathComponent().absoluteString.dropLast())
if createDirectory(filePath: directoryPath) {
}
How do I change this value directoryPath
let directoryPath = String(URL(fileURLWithPath: filePath).deletingLastPathComponent().absoluteString.dropLast())
if createDirectory(filePath: directoryPath) {
}
A constant value like this may not have a single copy for the debugger to modify; you could sometimes see the same issue with a const
variable in a C/C++ program, it's even more of a common problem with Swift programs. In general, this is not modifiable in the debugger.