From 591cba6468881721097efbc6df6856ff52e346e6 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Fri, 20 Oct 2017 11:19:32 -0700 Subject: [PATCH] fix comment typos // FREEBIE --- Signal/src/ViewControllers/GifPicker/GifPickerCell.swift | 4 ++-- .../ViewControllers/GifPicker/GifPickerViewController.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Signal/src/ViewControllers/GifPicker/GifPickerCell.swift b/Signal/src/ViewControllers/GifPicker/GifPickerCell.swift index 8983b1e0f..51d43c248 100644 --- a/Signal/src/ViewControllers/GifPicker/GifPickerCell.swift +++ b/Signal/src/ViewControllers/GifPicker/GifPickerCell.swift @@ -221,7 +221,7 @@ class GifPickerCell: UICollectionViewCell { activityIndicator.startAnimating() // Render activityIndicator on a white tile to ensure it's visible on - // when overalayed on a variety of potential gifs. + // when overlayed on a variety of potential gifs. activityIndicator.backgroundColor = UIColor.white.withAlphaComponent(0.3) activityIndicator.autoSetDimension(.width, toSize: 30) activityIndicator.autoSetDimension(.height, toSize: 30) @@ -249,7 +249,7 @@ class GifPickerCell: UICollectionViewCell { fulfill(asset) }, failure: { _ in - // TODO GiphyDownloader API shoudl pass through a useful failing error + // TODO GiphyDownloader API should pass through a useful failing error // so we can pass it through here Logger.error("\(self.TAG) request failed") reject(GiphyError.fetchFailure) diff --git a/Signal/src/ViewControllers/GifPicker/GifPickerViewController.swift b/Signal/src/ViewControllers/GifPicker/GifPickerViewController.swift index 74c1b0e6b..ec1519528 100644 --- a/Signal/src/ViewControllers/GifPicker/GifPickerViewController.swift +++ b/Signal/src/ViewControllers/GifPicker/GifPickerViewController.swift @@ -161,7 +161,7 @@ class GifPickerViewController: OWSViewController, UISearchBarDelegate, UICollect self.collectionView.dataSource = self self.collectionView.backgroundColor = UIColor.white self.collectionView.register(GifPickerCell.self, forCellWithReuseIdentifier: kCellReuseIdentifier) - // Inserted below searchbar becase we later occlude the collectionview + // Inserted below searchbar because we later occlude the collectionview // by inserting a masking layer between the search bar and collectionview self.view.insertSubview(self.collectionView, belowSubview: searchBar) self.collectionView.autoPinWidthToSuperview()