일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- async/await
- SwiftUI
- Combine vs Async/Await
- await
- Universal Link
- 이것이나의다정입니다
- fileprivate
- @ObservedObject
- async
- ios
- Static Dispatch
- Concurrency Programming
- SwiftData
- AnyCancellable
- Custom URL Scheme
- swift
- ScrollViewReader
- The Composable Architecture
- App Thinning
- wwdc23
- @main
- combine
- @NameSpace
- matchedGeometryEffect
- architecture
- SFSafariView
- Dynamic Dispatch
- ScrollViewProxy
- @StateObject
- MVVM
Archives
- Today
- Total
목록fileprivate (1)
홍로그
fileprivate과 private의 차이
📖fileprivate과 private의 차이 fileprivate과 private은 Swift에서 접근 제어자 중 하나입니다. 접근 제어자는 class, struct, enum, protocol 등의 범위와 기능에 따라 코드의 접근을 제한할 수 있도록 도와줍니다. open / public: 전체 프로젝트 어디에서든 접근이 가능한 가장 높은 접근 수준 internal: 해당 모듈 내에서만 접근이 가능하며, 기본 접근 수준 fileprivate: 현재 정의된 파일 내에서만 접근이 가능한 접근 수준 private: 현재 정의된 class, struct, enum 등의 scope 내에서만 접근이 가능한 가장 낮은 접근 수준 fileprivate 파일 내 어디에서든 접근이 가능한 접근 제한자입니다. 같은 파일 ..
iOS
2023. 8. 10. 16:35