Skip to content

Instantly share code, notes, and snippets.

View cham-s's full-sized avatar
😌
Learning

Chams cham-s

😌
Learning
  • Learner
  • Paris
View GitHub Profile
@cham-s
cham-s / SwiftLineReader.swift
Last active August 4, 2017 19:12 — forked from algal/SwiftLineReader.swift
Read a file one line at a time in Swift
/**
Original snipet from: https://gist.github.com/algal/23b10062a558aec7679e4c854096f88e
Forked to play around and learn sequence.
*/
import Darwin
struct LineIterator: IteratorProtocol {