Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring. Add global constant properties
- Loading branch information
Showing
5 changed files
with
29 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// Constants.swift | ||
// | ||
// Created by 양승현 on 2022/10/31. | ||
// | ||
|
||
import Firebase | ||
|
||
//MARK: - Constant properties | ||
let USERPROFILEIMAGEMEGABYTE = Int64(1*400*400) | ||
let FIRESTORE_USERS = "users" | ||
let COLLECTION_USERS = Firestore.firestore().collection(FIRESTORE_USERS) | ||
let FIRESTORE_DB = Firestore.firestore() | ||
let CURRENT_USER = Auth.auth().currentUser | ||
let STORAGE = Storage.storage() | ||
let AUTH = Auth.auth() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters