A VSCode extension that provides integration with Xcode projects, enabling seamless file/folder management while keeping your Xcode project synchronized.
Features
Xcode Project Sync
Create Swift files with templates (SwiftUI View, Protocol, Class, ViewModel)
Create folders that automatically sync with Xcode groups
Delete files/folders from both filesystem and Xcode project
Automatic handling of renames and moves
Templates
SwiftUI View
import SwiftUI
struct %{filename_no_ext}: View {
var body: some View {
Text("Hello, World!")
}
}
#Preview {
%{filename_no_ext}()
}
Protocol
import Foundation
protocol %{filename_no_ext} {
// Protocol requirements
}
Class
import Foundation
class %{filename_no_ext} {
// Class implementation
}
ViewModel
import Foundation
class %{filename_no_ext}: ObservableObject {
// ViewModel properties and methods
}
Swift File (minimal template)
import Foundation
// Your code here
Configuration
Project path is the path to the project directory.
Xcode project path is the path to the Xcode project file.
Author name is the name of the author of the project, that will be used in templates when creating new files.