Skip to content

Commit e3eff7b

Browse files
committed
release FirebaseUI 2.0.1, with support for SDWebImage 4
1 parent 2224a49 commit e3eff7b

File tree

7 files changed

+74
-51
lines changed

7 files changed

+74
-51
lines changed

FirebaseAuthUI/FUIAuth.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ typedef void (^FUIAuthResultCallback)(FIRUser *_Nullable user, NSError *_Nullabl
168168
/** @fn init
169169
@brief Please use @c FUIAuth.authUIWithAuth to get a @c FUIAuth instance.
170170
*/
171-
- (nullable instancetype)init NS_UNAVAILABLE;
171+
- (instancetype)init NS_UNAVAILABLE;
172172

173173
/** @fn handleOpenURL:
174174
@brief Should be called from your @c UIApplicationDelegate in

FirebaseAuthUI/FUIAuth.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ @interface FUIAuth ()
4040
/** @fn initWithAuth:
4141
@brief auth The @c FIRAuth to associate the @c FUIAuth instance with.
4242
*/
43-
- (nullable instancetype)initWithAuth:(FIRAuth *)auth NS_DESIGNATED_INITIALIZER;
43+
- (instancetype)initWithAuth:(FIRAuth *)auth NS_DESIGNATED_INITIALIZER;
4444

4545
@end
4646

FirebaseAuthUI/FUIAuthBaseViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ @interface FUIAuthAlertViewDelegate : NSObject <UIAlertViewDelegate>
6060
/** @fn init
6161
@brief Please use initWithCancelHandler:otherHandlers.
6262
*/
63-
- (nullable instancetype)init NS_UNAVAILABLE;
63+
- (instancetype)init NS_UNAVAILABLE;
6464

6565
/** @fn initWithCancelHandler:otherHandlers:
6666
@brief Designated initializer.

FirebaseUI.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Pod::Spec.new do |s|
22
s.name = 'FirebaseUI'
3-
s.version = '2.0.0'
3+
s.version = '2.0.1'
44
s.summary = 'UI binding libraries for Firebase.'
55
s.homepage = 'https://github.com/firebase/FirebaseUI-iOS'
66
s.license = { :type => 'Apache 2.0', :file => 'FirebaseUIFrameworks/LICENSE' }
7-
s.source = { :http => 'https://github.com/firebase/FirebaseUI-iOS/releases/download/v2.0.0/FirebaseUIFrameworks.zip' }
7+
s.source = { :http => 'https://github.com/firebase/FirebaseUI-iOS/releases/download/v2.0.1/FirebaseUIFrameworks.zip' }
88
s.author = 'Firebase'
99
s.platform = :ios
1010
s.ios.deployment_target = '8.0'
@@ -30,7 +30,7 @@ Pod::Spec.new do |s|
3030
s.subspec 'Storage' do |storage|
3131
storage.vendored_frameworks = ["FirebaseUIFrameworks/FirebaseStorageUI/Frameworks/FirebaseStorageUI.framework"]
3232
storage.dependency 'Firebase/Storage'
33-
storage.dependency 'SDWebImage'
33+
storage.dependency 'SDWebImage', '~> 4.0'
3434
end
3535

3636
s.subspec 'Auth' do |auth|

samples/swift/FirebaseUI-demo-swift/Base.lproj/Main.storyboard

Lines changed: 61 additions & 38 deletions
Large diffs are not rendered by default.

samples/swift/FirebaseUI-demo-swift/Samples/Auth/FUICustomAuthUIDelegate.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,27 +35,27 @@ class FUICustomAuthDelegate: NSObject, FUIAuthDelegate {
3535
}
3636
}
3737

38-
func authPickerViewController(for authUI: FUIAuth) -> FUIAuthPickerViewController {
38+
func authPickerViewController(forAuthUI authUI: FUIAuth) -> FUIAuthPickerViewController {
3939
return FUICustomAuthPickerViewController(authUI: authUI)
4040
}
4141

42-
func emailEntryViewController(for authUI: FUIAuth) -> FUIEmailEntryViewController {
42+
func emailEntryViewController(forAuthUI authUI: FUIAuth) -> FUIEmailEntryViewController {
4343
return FUICustomEmailEntryViewController(authUI: authUI)
4444
}
4545

46-
func passwordRecoveryViewController(for authUI: FUIAuth, email: String) -> FUIPasswordRecoveryViewController {
46+
func passwordRecoveryViewController(forAuthUI authUI: FUIAuth, email: String) -> FUIPasswordRecoveryViewController {
4747
return FUICustomPasswordRecoveryViewController(authUI: authUI, email: email)
4848
}
4949

50-
func passwordSignInViewController(for authUI: FUIAuth, email: String) -> FUIPasswordSignInViewController {
50+
func passwordSignInViewController(forAuthUI authUI: FUIAuth, email: String) -> FUIPasswordSignInViewController {
5151
return FUICustomPasswordSignInViewController(authUI: authUI, email: email)
5252
}
5353

54-
func passwordSignUpViewController(for authUI: FUIAuth, email: String) -> FUIPasswordSignUpViewController {
54+
func passwordSignUpViewController(forAuthUI authUI: FUIAuth, email: String) -> FUIPasswordSignUpViewController {
5555
return FUICustomPasswordSignUpViewController(authUI: authUI, email: email)
5656
}
5757

58-
func passwordVerificationViewController(for authUI: FUIAuth, email: String, newCredential: FIRAuthCredential) -> FUIPasswordVerificationViewController {
58+
func passwordVerificationViewController(forAuthUI authUI: FUIAuth, email: String, newCredential: FIRAuthCredential) -> FUIPasswordVerificationViewController {
5959
return FUICustomPasswordVerificationViewController(authUI: authUI, email: email, newCredential: newCredential)
6060
}
6161
}

samples/swift/FirebaseUI-demo-swift/Samples/Chat/ChatViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ class ChatViewController: UIViewController, UICollectionViewDelegateFlowLayout {
186186
let heightPadding: CGFloat = 16
187187

188188
let width = self.view.frame.size.width
189-
let blob = self.collectionViewDataSource.object(at: UInt((indexPath as NSIndexPath).row)) as! FIRDataSnapshot
189+
let blob = self.collectionViewDataSource.object(at: UInt((indexPath as NSIndexPath).row))!
190190
let text = Chat(snapshot: blob)!.text
191191

192192
let rect = ChatCollectionViewCell.boundingRectForText(text, maxWidth: width)

0 commit comments

Comments
 (0)