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 {
<!--
Hey Chris I will review your project here because your file was uploaded as Intro to Progaramming.rtf you should replace your file name
extension, it means the text after the dot, click twice on your file until you are able to edit it and remove the .rtf and replace it with
.html so the your computer could regcognize him as a web file.
OK let's get started all my feedbacks on your projects will place throuhghout your code as comment ^^.
-->
<--! Indented HTML Makes Code easy to follow -->
<div>
<h1>Title here</h1>
<p>Content paragraph here</p>
</div>