Skip to content

Instantly share code, notes, and snippets.


Sebastian Boettcher Jegge

View GitHub Profile
Jegge / TextReader.swift
Created Sep 8, 2019
A TextReader reads single characters, full lines or complete texts from an URL or file with an arbitrary string encoding and line delimiter
View TextReader.swift
// TextReader.swift
// Created by Sebastian Boettcher on 05.09.19.
// Copyright © 2019 Sebastian Boettcher. All rights reserved.
import Foundation
private func isReadable (fileHandle: FileHandle) -> Bool {
Jegge / DirectoryWatcher.swift
Created Dec 24, 2017
`DirectoryWatcher` can watch a directory and post a `DirectoryWatcher.didChangeNotification` notification when it's content changed.
View DirectoryWatcher.swift
// DirectoryWatcher.swift
// Created by Sebastian Boettcher on 16.07.17.
// Copyright © 2017 Sebastian Boettcher. All rights reserved.
// License: MIT
import Foundation
Jegge / Localizable.strings
Last active Aug 19, 2019
Localized enums in Swift
View Localizable.strings
"Test_a" = "AAAAA";
"Test_b" = "BBBBB";
"Test_c" = "CCCCC";
"Test_d" = "DDDDD";

Keybase proof

I hereby claim:

  • I am jegge on github.
  • I am jegge ( on keybase.
  • I have a public key ASBlEFRs-Gw_0MYWU5Q_TAufkKsaIoIgMJKIcew84OTZRwo

To claim this, I am signing this object:

You can’t perform that action at this time.