What Programming Languages Does Palmier Pro Use?
Palmier Pro is written entirely in Swift 6.2, with no Objective-C, C, or C++ source files in the repository.
The Palmier Pro codebase is a modern macOS application developed by palmier-io that relies exclusively on Swift for its implementation. According to the Package.swift manifest, the project targets Swift 6.2 as its sole language, and the entire source tree—from the main application entry point to the test suites—consists of .swift files only.
Primary Language: Swift 6.2
The project declares Swift as its only programming language in the package manifest. The Package.swift file specifies the Swift toolchain version and platform requirements without any C or Objective-C target definitions, confirming that Swift is the exclusive language for source code in this repository.
All business logic, user interface components, and data models are implemented using Swift. The application leverages SwiftUI for its interface layer, as evidenced by the main entry point structure.
import SwiftUI
import AppKit
@main
struct PalmierProApp: App {
var body: some Scene {
WindowGroup {
ContentView() // all UI built with SwiftUI
.frame(minWidth: 800,
minHeight: 600)
}
}
}
Source: Sources/PalmierPro/App/main.swift
The codebase also uses Swift for its design system implementation. The AppTheme.swift file defines constants for spacing, typography, and colors that are consumed throughout the application using standard Swift syntax.
// Using the design‑system constants defined in AppTheme.swift
Text("Welcome to Palmier Pro")
.font(.system(size: AppTheme.FontSize.large))
.foregroundColor(AppTheme.Text.primary)
.padding(AppTheme.Spacing.medium)
Source: Sources/PalmierPro/UI/AppTheme.swift
External Dependencies and Frameworks
While Palmier Pro links against several third-party libraries that internally use Objective-C or C (such as Sparkle, Sentry, and Lottie), these dependencies are integrated via the Swift Package Manager as binary or source dependencies. The repository itself contains no .m, .mm, .c, or .cpp files—only Swift source files that import and call these frameworks through their Swift interfaces.
Key Source Files
The following files demonstrate the uniform use of Swift across the project architecture:
- Package.swift — The Swift package manifest that declares the Swift 6.2 toolchain and platform targets.
- Sources/PalmierPro/App/main.swift — The application entry point using the
@mainattribute and SwiftUI'sAppprotocol. - Sources/PalmierPro/UI/AppTheme.swift — Design system constants implemented as Swift structs and static properties.
- Sources/PalmierPro/Editor/ViewModel/EditorViewModel.swift — Core view model demonstrating Swift's Combine framework and data flow patterns.
- Tests/PalmierProTests/Transcription/TranscriptSearchTests.swift — Unit tests written in Swift using the XCTest framework.
Testing Infrastructure
The test suite is also written entirely in Swift. All unit tests, integration tests, and UI tests use XCTest and Swift testing APIs without any bridging headers or Objective-C test cases. The TranscriptSearchTests.swift file exemplifies this approach, implementing test methods using Swift's native assertion APIs and async/await patterns.
Summary
- Palmier Pro uses exclusively Swift 6.2 for all source code, configuration, and testing.
- The repository contains no Objective-C (.m, .mm) or C/C++ source files.
- Third-party dependencies with Objective-C internals are consumed via Swift Package Manager but do not affect the language composition of the repository.
- Both the application logic and the user interface rely on modern Swift features including SwiftUI, Combine, and Swift concurrency.
Frequently Asked Questions
Is Palmier Pro written entirely in Swift?
Yes. Every source file in the repository is a .swift file. The project uses Swift for the application logic, UI layer, design systems, and testing infrastructure, with no native Objective-C or C code present.
Does Palmier Pro use Objective-C for macOS integration?
No. While the app integrates with macOS frameworks that historically have Objective-C APIs, all calls are made through Swift's interoperability layers. The repository contains no .m or .mm bridging files, and all platform integration is handled using Swift's native AppKit and SwiftUI APIs.
What version of Swift does Palmier Pro require?
The project requires Swift 6.2, as specified in the Package.swift manifest. This version requirement ensures access to the latest language features and concurrency improvements available in the Swift toolchain.
Are there any C or C++ files in the repository?
No. The source tree contains no C (.c) or C++ (.cpp, .hpp) files. Any low-level functionality required by the application is either implemented in Swift or provided by external dependencies that are linked as pre-built binaries or Swift packages, keeping the primary codebase free of C-family languages.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →