J'ai le code:Répertoire des icônes personnalisées Swift
do {
try manager.createDirectory(atPath: appDir!.appendingPathComponent(path).path, withIntermediateDirectories: true, attributes: nil)
} catch {
print("Error: \(error)")
}
Comment puis-je ajouter une icône personnalisée dans le répertoire (comme Dropbox, Creative Cloud, etc.)? Est-ce que je l'ajoute en tant qu'attribut?
Recherchez-le par vous-même. https://stackoverflow.com/search?q=%5Bosx%5D+folder+icon –