Skip to content

Commit aa5d498

Browse files
committed
Revert "add includecode markers in storage sample"
This reverts commit 633e220.
1 parent f2b0ad9 commit aa5d498

File tree

2 files changed

+9
-22
lines changed

2 files changed

+9
-22
lines changed

samples/swift/FirebaseUI-demo-swift/Samples/StorageViewController.swift

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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

samples/swift/Podfile

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,11 @@
11
target 'FirebaseUI-demo-swift' do
22
use_frameworks!
33

4-
# Used for developing with the latest podspec in GitHub.
5-
# pod 'FirebaseUI', :podspec => 'https://raw.githubusercontent.com/firebase/FirebaseUI-iOS/master/FirebaseUI.podspec'
6-
7-
pod 'FirebaseUI/Database'
8-
9-
pod 'FirebaseUI/Auth'
10-
pod 'FirebaseUI/Facebook'
11-
pod 'FirebaseUI/Google'
12-
pod 'FirebaseUI/Twitter'
13-
14-
# [START include_firebaseui_storage]
15-
pod 'FirebaseUI/Storage'
16-
# [END include_firebaseui_storage]
4+
pod 'FirebaseUI', :podspec => 'https://raw.githubusercontent.com/firebase/FirebaseUI-iOS/master/FirebaseUI.podspec'
175

186
target 'FirebaseUI-demo-swiftTests' do
197
inherit! :search_paths
208
end
219

2210
end
11+

0 commit comments

Comments
 (0)