@@ -33,13 +33,13 @@ class StorageViewController: UIViewController {
3333
3434 // Notification boilerplate to handle keyboard appearance/disappearance
3535 NotificationCenter . default. addObserver ( self ,
36- selector: #selector( keyboardWillShow) ,
37- name: NSNotification . Name. UIKeyboardWillShow,
38- object: nil )
36+ selector: #selector( keyboardWillShow) ,
37+ name: NSNotification . Name. UIKeyboardWillShow,
38+ object: nil )
3939 NotificationCenter . default. addObserver ( self ,
40- selector: #selector( keyboardWillHide) ,
41- name: NSNotification . Name. UIKeyboardWillHide,
42- object: nil )
40+ selector: #selector( keyboardWillHide) ,
41+ name: NSNotification . Name. UIKeyboardWillHide,
42+ object: nil )
4343 }
4444
4545 @IBAction fileprivate func loadButtonPressed( _ sender: AnyObject ) {
@@ -49,14 +49,12 @@ class StorageViewController: UIViewController {
4949
5050 self . storageRef = FIRStorage . storage ( ) . reference ( withPath: url. path)
5151
52- // [START firebaseui_load_image]
5352 self . imageView. sd_setImage ( with: self . storageRef,
54- placeholderImage: nil ) { ( image, error, cacheType, storageRef) in
53+ placeholderImage: nil ) { ( image, error, cacheType, storageRef) in
5554 if let error = error {
5655 print ( " Error loading image: \( error) " )
5756 }
5857 }
59- // [END firebaseui_load_image]
6058 }
6159
6260 // MARK: Keyboard boilerplate
0 commit comments