Skip to content

Bouke/INI

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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")