@IBOutlet weak var myCollectionView: UICollectionView! override func viewDidLoad() { super.viewDidLoad() //UIRefreshControllのインスタンスを生成する。 var refreshControl = UIRefreshControl() //下に引っ張った時に、リフレッシュさせる関数を実行する。”:”を忘れがちなので注意。 refreshControl.addTarget(self, action: "guruguru:", forControlEvents: UIControlEvents.ValueChanged) //UICollectionView上に、ロード中...を表示するための新しいビューを作る myCollectionView.addSubview(refr