 import JTAppleCalendar
 
 
-class ViewController: UIViewController {
+class ViewController: UIViewController, UITextViewDelegate {
     
     @IBOutlet weak var calView: JTAppleCalendarView!
     @IBOutlet weak var dayView: UIView!

            
            var dosageLabel = UILabel(frame: CGRect(x: 0, y: 0, width: self.dayStackView.frame.size.width/2, height: 30))
            dosageLabel.center = CGPoint(x:3*self.dayView.frame.size.width/4, y:0.0)
            dosageLabel.textAlignment = .center
            dosageLabel.text = medDosage[dosageIndex]
            dosageLabel.backgroundColor = .white
            

            curVertStack.axis = .vertical
            
            var nameLabel = UILabel(frame: CGRect(x: 0, y: 0, width: self.dayStackView.frame.size.width/2, height: 30))
            nameLabel.center = CGPoint(x:self.dayView.frame.size.width/4 - 20, y:0.0)
            nameLabel.textAlignment = .right
            nameLabel.text = curText
            nameLabel.backgroundColor = .white
            
