- Swift part5 [転載禁止]©2ch.net
157 :デフォルトの名無しさん[sage]:2015/06/29(月) 22:05:40.57 ID:nNtmCvcQ - GRAMMAR OF A TUPLE TYPE
tuple-type → (tuple-type-bodyopt) tuple-type-body → tuple-type-element-list...opt tuple-type-element-list → tuple-type-element tuple-type-element,tuple-type-element-list tuple-type-element → attributesoptinoutopttype inoutoptelement-nametype-annotation element-name → identifier tuple-type-body → tuple-type-element-list...opt この点々ってなに?
|
- Swift part5 [転載禁止]©2ch.net
159 :デフォルトの名無しさん[sage]:2015/06/29(月) 22:34:35.66 ID:nNtmCvcQ - そっか
(Int,Int...)とかいう型の値を勝手に作れるとかそういうことじゃないんだね ありがとう あと>>156もできればお願い!
|
- Swift part5 [転載禁止]©2ch.net
161 :デフォルトの名無しさん[sage]:2015/06/29(月) 22:53:49.76 ID:nNtmCvcQ - >>160
そうなんだ 一応swift2のやつみてたんだけどなんにしても記述が間違えなんだね ありがとう!
|
- Swift part5 [転載禁止]©2ch.net
163 :デフォルトの名無しさん[sage]:2015/06/29(月) 23:02:43.66 ID:nNtmCvcQ - 説明のところで
For classes , you can define computed type property only. ってあったから
|