Swift Package Index


Swift INI parser based on (NS)Scanner


  • The latest stable release is 1.2.0. Released 2 years ago.
  • The last commit to master was 2 years ago.

Swift Version Compatibility

  • 1.2.0 and master
    5.3
    5.2
    5.1
    5.0
    4.2
Full build results

Platform Compatibility

  • 1.2.0 and master
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS
Full build results

Swift INI Parser

Build Status Quality Gate Status

Usage

INI file looking like this:

[Header]
Key=Value
; some comment

Parse it like this:

let config = try parseINI(filename: "config.ini")
print(config["Header"]?["Key"]) // prints Optional("Value")