1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950import UIKit class ViewController: UIViewController ,UITextViewDelegate{ var contentField: UITextView? let gap:CGFloat = 8 //TextView 와 view 사이 gap override func viewDidLoad() { super.viewDidLoad() NSNotificationCenter.defaultCenter().addObserver(self, selector: "keyboardWillShow:", name: UIKeyboardWillSho..
1234567891011121314151617181920212223242526272829import UIKit class WritePostViewController: UIViewController ,UITextFieldDelegate ,UITextViewDelegate{ @IBOutlet weak var titleField: UITextField! @IBOutlet weak var contentField: UITextView! override func viewDidLoad() { super.viewDidLoad() self.titleField.delegate = self self.contentField.delegate = self } override func viewDidAppear(animated: B..
- Total
- Today
- Yesterday