πΒ ν΄λꡬ쑰
InstagramSwiftUITutorial
ββ API
β ββ ImageUploader.swift
β ββ UserService.swift
ββ InstagramSwiftUITutorialApp.swift
ββ Model
β ββ Comment.swift
β ββ Notification.swift
β ββ Post.swift
β ββ User.swift
ββ Preview Content
β ββ Preview Assets.xcassets
β ββ Contents.json
ββ Utils
β ββ Constants.swift
β ββ CustomSecureField.swift
β ββ CustomTextField.swift
β ββ Extensions.swift
β ββ ImagePicker.swift
β ββ TextArea.swift
ββ View
β ββ Authentication
β β ββ LoginView.swift
β β ββ RegistrationView.swift
β β ββ ResetPasswordView.swift
β ββ Comments
β β ββ CommentCell.swift
β β ββ CommentsView.swift
β ββ Feed
β β ββ FeedCell.swift
β β ββ FeedView.swift
β ββ Items
β β ββ CustomInputView.swift
β β ββ PostGridView.swift
β β ββ UserCell.swift
β β ββ UserListView.swift
β ββ Main
β β ββ ContentView.swift
β β ββ MainTabView.swift
β ββ Notifications
β β ββ NotificationCell.swift
β β ββ NotificationView.swift
β ββ Profile
β β ββ ProfileActionButton.swift
β β ββ ProfileHeaderView.swift
β β ββ ProfileView.swift
β β ββ UserStatView.swift
β ββ Search
β β ββ SearchBar.swift
β β ββ SearchView.swift
β ββ UploadPost
β ββ UploadPostView.swift
ββ ViewModel
ββ Authentication
β ββ AuthViewModel.swift
ββ CommentViewModel.swift
ββ Feed
β ββ FeedCellViewModel.swift
β ββ FeedViewModel.swift
ββ Notifications
β ββ NotificationCellViewModel.swift
β ββ NotificationViewModel.swift
ββ PostGridViewModel.swift
ββ Profile
β ββ ProfileViewModel.swift
ββ SearchViewModel.swift
ββ UploadPostViewModel.swift
View: View κ΄λ ¨ swiftνμΌ
Model: λ°μ΄ν° λͺ¨λΈ
ViewModel: ViewModel νμΌλ€μ λͺ¨μλ
API: 곡ν΅μΌλ‘ μ¬μ©λλ λ€νΈμν¬ μλΉμ€ν΄λμ€ νΉμ ꡬ쑰체 λͺ¨μ
Utils: Extension, Constants νΉμ 곡ν΅μΌλ‘ μ¬μ©λλ μ»΄ν¬λνΈλ₯Ό λͺ¨μλ
## βοΈΒ Firebase μΈν
### KeyνμΌ μΆκ°
Firebase SDKλ₯Ό μ€μΉν΄μΌ νλ‘μ νΈμμ Firebaseλ₯Ό μ΄μ©ν μ μλ€. Firesbaseμ λμ μ±μ λ±λ‘νκ³ νλ‘μ νΈ λ΄λΆμ GoogleService-info.plist νμΌμ μΆκ°ν΄μ€λ€.

GoogleService-Info.pilist νμΌμ ν΄λΉμ±μ΄ Firebaseμ access ν μ μλ κΆνμ λν KEYκ°λ€μ΄ μ‘΄μ¬νλ€ κ·Έλ κΈ° λλ¬Έμ λ°λμ .gitignore νμΌμ ν΄λΉ νμΌμ μΆκ°νμ¬ μ격μ μ₯μμ μ¬λΌκ°μ§ μλλ‘ ν΄μ€λ€.
### SDK μ€μΉ(SPM)
SwiftPackageManagerλ₯Ό μ΄μ©νλ©΄ Cocoapodsλ₯Ό μ΄μ©νλκ²μ λΉν΄ κ°λ¨νκ² νλ‘μ νΈμ νλ μμν¬λ₯Ό μ€μΉν μ μλ€.