HYTakeNotes
Description
This is a very simple modal view controller that contains an input UITextView and two buttons to Save or Close the dialog. HYTakeNotes was created by inspiration of Twitter’s compose tweet screen.
Screenshot
Usage
import HYTakeNotes
func takeNotes() {
let vc = HYTakeNotes()
vc.placeholder = "Type your notes here..."
vc.initialText = "" // set the initial text if needed.
vc.completion = { text in
print(text)
}
self.present(vc, animated: true, completion: nil)
}
License
Copyright (c) 2018 Roman Nazarkevych HYTakeNotes is available under the MIT license. See the LICENSE file for more info.