2015-06-01から1ヶ月間の記事一覧
通常、であればViewConrollerがUITextFieldDelegateかUIViewControllerを適用して、textFieldShouldReturnだったり何かしらのタッチイベントでtextField.resignFirstResponder()をすると思います。 ただ、UITextFieldとUITextViewが混在する場合、どちらが編…
func tableView(tableView: UITableView, willDisplayCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath) { if indexPath.row == (items.count - 1){ items += nextItems tableView.reloadData() } } 最後のcellに来たらnextItemsを追…
file too small (length=0) file '/some/file/path' for architecture x86_64 linker command failed with exit code 1 (use -v to see invocation) ↓ command + shift + k これでだいたい解決する 多分ビルドが失敗したときに、変な風に(0byte)書き換わっ…