Swiftpack.co -  yume190/TypeFill as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
A cli tool to fill your swift source code's types.
.package(url: "https://github.com/yume190/TypeFill.git", from: "0.1.8")


Quality gate Swift

A little cli tool to help you fill your variables type.

And add private final attribute to @IBAction, @IBOutlet, and @objc.(Rewriting ...)



brew install make
make install

Swift Package Manager

swift build -c release
cp .build/release/typefill /usr/local/bin


brew install mint
mint install yume190/TypeFill


typefill single --filePath /ABSOLUTE/PATH/sample.swift --sdk macosx

typefill spm --moduleName TypeFillKit

typefill project --project PATH/TO/YOUR.xcodeproj --scheme YOUR_SCHEME

typefill workspace --workspace PATH/TO/YOUR.xcworkspace --scheme YOUR_SCHEME

The Support Part & Todolist

  • ☑ typefill variables like let a = 1 or var a = "1".
  • ☑ typefill keyword like let ``default`` = 1.
  • ☑ typefill guard let and if let.
  • ☑ typefill some closure input.
    • { a, b in }
    • { (a, b) in }
  • ☑ typefill binding tuple let (aa, bb) = (1, 2)
  • ☐ typefill inout
  • ☐ typefill closure output.
  • add private final attribute to @IBAction/@IBOutlet/@objc by using --ibaction/--iboutlet/--objc.(Rewriting)
private lazy var chartHeight: [CGFloat] = {
    return self.status.sensorData?.compactMap { sensor -> CGFloat in
        guard let _chartType = sensor.chart?.type else { return 0 }



MIT licensed.


Stars: 5
Last commit: 1 week ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API