I have the code:
do {
try manager.createDirectory(atPath: appDir!.appendingPathComponent(path).path, withIntermediateDirectories: true, attributes: nil)
} catch {
print("Error: \(error)")
}
How do I add a custom icon to the directory (like Dropbox, Creative Cloud, etc.)? Do I add it as an attribute?