Skip to content

Commit 835bac1

Browse files
authored
Update doc comments for release (#6321)
* Update doc comments for release * Remove not-parsed doc tag * Add changelog entry
1 parent c13201b commit 835bac1

File tree

3 files changed

+17
-13
lines changed

3 files changed

+17
-13
lines changed

FirebaseAppDistribution/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
# Unreleased
2+
- [changed] Updated header comments (#6321).
3+
14
# v0.9.0
25
- Initial beta release.

FirebaseAppDistribution/Sources/Public/FIRAppDistribution.h

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ NS_ASSUME_NONNULL_BEGIN
2929
NS_SWIFT_NAME(AppDistribution)
3030
@interface FIRAppDistribution : NSObject
3131

32-
// Is true if the App Distribution tester is signed in
32+
/// Returns true if the App Distribution tester is signed in.
3333
@property(nonatomic, readonly) BOOL isTesterSignedIn;
3434

3535
/** :nodoc: */
@@ -62,28 +62,29 @@ NS_SWIFT_NAME(AppDistribution)
6262

6363
@end
6464

65-
// The error domain for codes in the FIRAppDistributionError enum.
65+
/// The error domain for codes in the `FIRAppDistributionError` enum.
6666
FOUNDATION_EXPORT NSString *const FIRAppDistributionErrorDomain
6767
NS_SWIFT_NAME(AppDistributionErrorDomain);
6868

69-
// The key for finding error details in the NSError userInfo.
69+
/// The key for finding error details in the `NSError`'s `userInfo`.
7070
FOUNDATION_EXPORT NSString *const FIRAppDistributionErrorDetailsKey
7171
NS_SWIFT_NAME(FunctionsErrorDetailsKey);
7272

7373
/**
74-
* @enum AppDistributionError
74+
* Error codes representing sign in or version check failure reasons.
7575
*/
7676
typedef NS_ENUM(NSUInteger, FIRAppDistributionError) {
77-
/// Unknown error.
77+
/// Returned when an unknown error occurred.
7878
FIRAppDistributionErrorUnknown = 0,
7979

80-
// Authentication failed
80+
/// Returned when App Distribution failed to authenticate the user.
8181
FIRAppDistributionErrorAuthenticationFailure = 1,
8282

83-
// Authentication canceled
83+
/// Returned when sign-in was cancelled.
8484
FIRAppDistributionErrorAuthenticationCancelled = 2,
8585

86-
// Network unavailable to make requests or the request timed out
86+
/// Returned when the network was unavailable to make requests or
87+
/// the request timed out.
8788
FIRAppDistributionErrorNetworkFailure = 3,
8889

8990
} NS_SWIFT_NAME(AppDistributionError);

FirebaseAppDistribution/Sources/Public/FIRAppDistributionRelease.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ NS_ASSUME_NONNULL_BEGIN
2323
NS_SWIFT_NAME(AppDistributionRelease)
2424
@interface FIRAppDistributionRelease : NSObject
2525

26-
// The short bundle version of this build (example 1.0.0)
26+
/// The short bundle version of this build (example 1.0.0).
2727
@property(nonatomic, copy, readonly) NSString *displayVersion;
2828

29-
// The build number of this build (example: 123)
29+
/// The build number of this build (example: 123).
3030
@property(nonatomic, copy, readonly) NSString *buildVersion;
3131

32-
// The release notes for this build
32+
/// The release notes for this build.
3333
@property(nonatomic, copy, readonly) NSString *releaseNotes;
3434

35-
// The URL for the build
35+
/// The URL for the build.
3636
@property(nonatomic, strong, readonly) NSURL *downloadURL;
3737

38-
// Whether the download URL for this release is expired
38+
/// Whether the download URL for this release is expired.
3939
@property(nonatomic, readonly) BOOL isExpired;
4040

4141
/** :nodoc: */

0 commit comments

Comments
 (0)