-
ID:UDmcWH さんの質問

swift超初心者です。
現在、勉強中なのですが、テーブルの背景を変えるコードがうまく通りません。
非常に初歩的な質問で申し訳ございません。

以下コード
=================================
import UIKit

class MyController: UITableViewController {

}

var contoller = MyController()
contoller.view.backgroundColor = UIColor(red: 1.0, green: 0, blue: 0, alpha: 1.0)
contoller.view

=================================

以下ポップアップエラー

=================================
//Communication with the playground service was interrupted unexpectedly.
//The playground service "com.apple.dt.Xcode.Playground" may hav generated a crash log.

みんなの回答 2 件

ID:5AoTKv さんの回答

単にplaygroundだからかも知れません

ID:isYhRL さんの回答

え、ぜんぜんわかんない。。

最終更新日:2014-11-30 (2,453 views)

関連するトピックス

ページ上部に戻る