---
title: swiftSource
framework: uniformtypeidentifiers
role: symbol
role_heading: Type Property
path: uniformtypeidentifiers/uttype-swift.struct/swiftsource
---

# swiftSource

A type that represents a Swift source code file.

## Declaration

```swift
static var swiftSource: UTType { get }
```

## Discussion

Discussion The identifier for this type is public.swift-source. This type conforms to UTTypeSourceCode.

## See Also

### Compiled programming language sources

- [assemblyLanguageSource](uniformtypeidentifiers/uttype-swift.struct/assemblylanguagesource.md)
- [cHeader](uniformtypeidentifiers/uttype-swift.struct/cheader.md)
- [cSource](uniformtypeidentifiers/uttype-swift.struct/csource.md)
- [cPlusPlusHeader](uniformtypeidentifiers/uttype-swift.struct/cplusplusheader.md)
- [cPlusPlusSource](uniformtypeidentifiers/uttype-swift.struct/cplusplussource.md)
- [objectiveCPlusPlusSource](uniformtypeidentifiers/uttype-swift.struct/objectivecplusplussource.md)
- [objectiveCSource](uniformtypeidentifiers/uttype-swift.struct/objectivecsource.md)
