質問編集履歴

2

タグ付けしました

2019/05/02 14:51

投稿

kackey621
kackey621

スコア18

test CHANGED
File without changes
test CHANGED
File without changes

1

ソースコードを新しくしました。

2019/05/02 14:51

投稿

kackey621
kackey621

スコア18

test CHANGED
File without changes
test CHANGED
@@ -124,7 +124,7 @@
124
124
 
125
125
  }))
126
126
 
127
- //
127
+ //
128
128
 
129
129
  }
130
130
 
@@ -338,7 +338,7 @@
338
338
 
339
339
  }
340
340
 
341
-
341
+
342
342
 
343
343
  //遷移先のViewControllerにデータを渡す関数
344
344
 
@@ -370,7 +370,151 @@
370
370
 
371
371
 
372
372
 
373
-
373
+ // MARK: - Table view data source
374
+
375
+
376
+
377
+ // override func numberOfSections(in tableView: UITableView) -> Int {
378
+
379
+ // // #warning Incomplete implementation, return the number of sections
380
+
381
+ // return 0
382
+
383
+ // }
384
+
385
+ //
386
+
387
+ // override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
388
+
389
+ // // #warning Incomplete implementation, return the number of rows
390
+
391
+ // return 0
392
+
393
+ // }
394
+
395
+
396
+
397
+ /*
398
+
399
+ override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
400
+
401
+ let cell = tableView.dequeueReusableCell(withIdentifier: "reuseIdentifier", for: indexPath)
402
+
403
+
404
+
405
+ // Configure the cell...
406
+
407
+
408
+
409
+ return cell
410
+
411
+ }
412
+
413
+ */
414
+
415
+
416
+
417
+ /*
418
+
419
+ // Override to support conditional editing of the table view.
420
+
421
+ override func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool {
422
+
423
+ // Return false if you do not want the specified item to be editable.
424
+
425
+ return true
426
+
427
+ }
428
+
429
+ */
430
+
431
+
432
+
433
+ /*
434
+
435
+ // Override to support editing the table view.
436
+
437
+ override func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath) {
438
+
439
+ if editingStyle == .delete {
440
+
441
+ // Delete the row from the data source
442
+
443
+ tableView.deleteRows(at: [indexPath], with: .fade)
444
+
445
+ } else if editingStyle == .insert {
446
+
447
+ // Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view
448
+
449
+ }
450
+
451
+ }
452
+
453
+ */
454
+
455
+
456
+
457
+ /*
458
+
459
+ // Override to support rearranging the table view.
460
+
461
+ override func tableView(_ tableView: UITableView, moveRowAt fromIndexPath: IndexPath, to: IndexPath) {
462
+
463
+
464
+
465
+ }
466
+
467
+ */
468
+
469
+
470
+
471
+ /*
472
+
473
+ // Override to support conditional rearranging of the table view.
474
+
475
+ override func tableView(_ tableView: UITableView, canMoveRowAt indexPath: IndexPath) -> Bool {
476
+
477
+ // Return false if you do not want the item to be re-orderable.
478
+
479
+ return true
480
+
481
+ }
482
+
483
+ */
484
+
485
+
486
+
487
+ /*
488
+
489
+ // MARK: - Navigation
490
+
491
+
492
+
493
+ // In a storyboard-based application, you will often want to do a little preparation before navigation
494
+
495
+ override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
496
+
497
+ // Get the new view controller using segue.destination.
498
+
499
+ // Pass the selected object to the new view controller.
500
+
501
+ }
502
+
503
+ */
504
+
505
+
506
+
507
+
508
+
509
+
510
+
511
+
512
+
513
+
514
+
515
+
516
+
517
+
374
518
 
375
519
 
376
520
 
@@ -378,4 +522,42 @@
378
522
 
379
523
 
380
524
 
525
+
526
+
527
+
528
+
381
529
  ```
530
+
531
+
532
+
533
+
534
+
535
+ エラー文は下記の通りです。
536
+
537
+
538
+
539
+ ```Swift
540
+
541
+ 2019-05-02 23:38:44.593693+0900 TEST[76364:3624471] TIC Read Status [1:0x0]: 1:57
542
+
543
+ -LdsmjzK2nXOotWp07js
544
+
545
+ -Ldsqg4BVsm3-D7qNDnF
546
+
547
+ -LdsqkSX5Ky7nTGIhuHG
548
+
549
+ -LdsqlxFYDEEwIKXTi9L
550
+
551
+ -LdsqlxFYDEEwIKXTi9L
552
+
553
+ [0, 3]
554
+
555
+ ["vrt"]+1
556
+
557
+ Fatal error: Index out of range
558
+
559
+ 2019-05-02 23:38:48.546084+0900 TEST[76364:3624363] Fatal error: Index out of range
560
+
561
+
562
+
563
+ ```