@@ -26,20 +26,21 @@ typedef void (^FIRAppVoidBoolCallback)(BOOL success) NS_SWIFT_NAME(FirebaseAppVo
2626/* *
2727 * The entry point of Firebase SDKs.
2828 *
29- * Initialize and configure FIRApp using +[FIRApp configure]
29+ * Initialize and configure `FirebaseApp` using `FirebaseApp. configure()`
3030 * or other customized ways as shown below.
3131 *
3232 * The logging system has two modes: default mode and debug mode. In default mode, only logs with
3333 * log level Notice, Warning and Error will be sent to device. In debug mode, all logs will be sent
3434 * to device. The log levels that Firebase uses are consistent with the ASL log levels.
3535 *
36- * Enable debug mode by passing the -FIRDebugEnabled argument to the application. You can add this
37- * argument in the application's Xcode scheme. When debug mode is enabled via -FIRDebugEnabled,
36+ * Enable debug mode by passing the ` -FIRDebugEnabled` argument to the application. You can add this
37+ * argument in the application's Xcode scheme. When debug mode is enabled via ` -FIRDebugEnabled` ,
3838 * further executions of the application will also be in debug mode. In order to return to default
39- * mode, you must explicitly disable the debug mode with the application argument -FIRDebugDisabled.
39+ * mode, you must explicitly disable the debug mode with the application argument
40+ * `-FIRDebugDisabled`.
4041 *
41- * It is also possible to change the default logging level in code by calling setLoggerLevel: on
42- * the FIRConfiguration interface .
42+ * It is also possible to change the default logging level in code by calling
43+ * `FirebaseConfiguration.shared.setLoggerLevel(_:)` with the desired level .
4344 */
4445NS_SWIFT_NAME (FirebaseApp)
4546@interface FIRApp : NSObject
@@ -75,31 +76,31 @@ NS_SWIFT_NAME(FirebaseApp)
7576// clang-format on
7677
7778/* *
78- * Returns the default app, or nil if the default app does not exist.
79+ * Returns the default app, or ` nil` if the default app does not exist.
7980 */
8081+ (nullable FIRApp *)defaultApp NS_SWIFT_NAME (app());
8182
8283/* *
83- * Returns a previously created FIRApp instance with the given name, or nil if no such app exists.
84- * This method is thread safe.
84+ * Returns a previously created `FirebaseApp` instance with the given name, or ` nil` if no such app
85+ * exists. This method is thread safe.
8586 */
8687+ (nullable FIRApp *)appNamed:(NSString *)name NS_SWIFT_NAME (app(name:));
8788
8889/* *
89- * Returns the set of all extant FIRApp instances, or nil if there are no FIRApp instances. This
90- * method is thread safe.
90+ * Returns the set of all extant `FirebaseApp` instances, or ` nil` if there are no `FirebaseApp`
91+ * instances. This method is thread safe.
9192 */
9293@property(class, readonly, nullable) NSDictionary <NSString *, FIRApp *> *allApps;
9394
9495/* *
95- * Cleans up the current FIRApp , freeing associated data and returning its name to the pool for
96- * future use. This method is thread safe.
96+ * Cleans up the current `FirebaseApp` , freeing associated data and returning its name to the pool
97+ * for future use. This method is thread safe.
9798 */
9899- (void )deleteApp:(FIRAppVoidBoolCallback)completion;
99100
100101/* *
101- * FIRApp instances should not be initialized directly. Call +[FIRApp configure] ,
102- * +[FIRApp configureWithOptions:] , or +[FIRApp configureWithNames :options:] directly.
102+ * `FirebaseApp` instances should not be initialized directly. Call `FirebaseApp. configure()` ,
103+ * `FirebaseApp.configure(options:)` , or `FirebaseApp.configure(name :options:)` directly.
103104 */
104105- (instancetype )init NS_UNAVAILABLE;
105106
@@ -114,7 +115,7 @@ NS_SWIFT_NAME(FirebaseApp)
114115@property(nonatomic, copy, readonly) FIROptions *options;
115116
116117/* *
117- * Gets or sets whether automatic data collection is enabled for all products. Defaults to `YES `
118+ * Gets or sets whether automatic data collection is enabled for all products. Defaults to `true `
118119 * unless `FirebaseDataCollectionDefaultEnabled` is set to `NO` in your app's Info.plist. This value
119120 * is persisted across runs of the app so that it can be set once when users have consented to
120121 * collection.
0 commit comments