Skip to content

Instantly share code, notes, and snippets.

View Hrayr2112's full-sized avatar
🎯
Focusing

Hrayr2112

🎯
Focusing
View GitHub Profile
import UIKit
protocol ReaderDelegate: class {
func didReadData(data: Data)
}
class Reader{
var file: String!
var output: ReaderDelegate?
var readCompleteBlock: (() -> Void)?