質問編集履歴

4

画像の追加

2018/06/12 14:58

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -182,10 +182,8 @@
182
182
 
183
183
  -----------------------
184
184
 
185
- 落ちた時のデバッグエリア
185
+ ![イメージ説明](d2f348ea090223b470944264149d96a0.png)
186
186
 
187
- 2018-06-12 01:01:08.555534+0900 btr-label[16020:1573068] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/------/Library/Developer/CoreSimulator/Devices/C92C7051-3978-4571-B525-CD9B8B37A8E5/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
187
+ ### 参考文献
188
188
 
189
- 2018-06-12 01:01:08.556995+0900 btr-label[16020:1573068] [MC] Reading from private effective user settings.
189
+ http://blog.all-in.xyz/2016/06/20/how-to-put-button-on-tableview-which-will-not-scroll-with-table/
190
-
191
- (lldb)

3

追記

2018/06/12 14:58

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -184,7 +184,7 @@
184
184
 
185
185
  落ちた時のデバッグエリア
186
186
 
187
- 2018-06-12 01:01:08.555534+0900 btr-label[16020:1573068] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/nishikawakeien/Library/Developer/CoreSimulator/Devices/C92C7051-3978-4571-B525-CD9B8B37A8E5/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
187
+ 2018-06-12 01:01:08.555534+0900 btr-label[16020:1573068] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/------/Library/Developer/CoreSimulator/Devices/C92C7051-3978-4571-B525-CD9B8B37A8E5/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
188
188
 
189
189
  2018-06-12 01:01:08.556995+0900 btr-label[16020:1573068] [MC] Reading from private effective user settings.
190
190
 

2

デバッグエリアの追記

2018/06/11 16:07

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -175,3 +175,17 @@
175
175
  でEditViewTabelViewに?をつけないと落ちて、つけると落ちなくはなりますがテキストが挿入されないです。
176
176
 
177
177
  container viewを使わないviewでは今回のようなエラーはなかったです。しかし今回はtabelの上にボタンを乗せたかったのでcontainer viewを使ったところ落ちるようになりました。
178
+
179
+
180
+
181
+
182
+
183
+ -----------------------
184
+
185
+ 落ちた時のデバッグエリア
186
+
187
+ 2018-06-12 01:01:08.555534+0900 btr-label[16020:1573068] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/nishikawakeien/Library/Developer/CoreSimulator/Devices/C92C7051-3978-4571-B525-CD9B8B37A8E5/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
188
+
189
+ 2018-06-12 01:01:08.556995+0900 btr-label[16020:1573068] [MC] Reading from private effective user settings.
190
+
191
+ (lldb)

1

追記

2018/06/11 16:03

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -159,3 +159,19 @@
159
159
  なので```@IBOutlet weak var EditViewTabelView = UITableView()```にしてみたところ落ちる事はなくなったがテキストが挿入されなくて困っている。
160
160
 
161
161
  それで念のために```printf```を入れてみたところデバッグには入力したテキストが表示されているのでなぜcellに挿入されないのかを知りたい。
162
+
163
+
164
+
165
+ ### 追記
166
+
167
+ tabelviewインスタンスでは問題はなかったっぽいです。
168
+
169
+
170
+
171
+
172
+
173
+ self.EditViewTabelView?.insertRows(at: [IndexPath(row: 0, section: 0)], with: .automatic)
174
+
175
+ でEditViewTabelViewに?をつけないと落ちて、つけると落ちなくはなりますがテキストが挿入されないです。
176
+
177
+ container viewを使わないviewでは今回のようなエラーはなかったです。しかし今回はtabelの上にボタンを乗せたかったのでcontainer viewを使ったところ落ちるようになりました。