์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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
- raywenderlich
- Xcode
- Swfit
- tableView
- ํ๋ก๊ทธ๋๋จธ์ค
- SwiftUI
- arkit
- designpattern
- SnapKit
- XCTest
- reactorkit
- Flutter
- RxSwift
- MVVM
- combine
- ๋ฐฑ์ค
- node.js
- ํจ์คํธ์บ ํผ์ค
- realm
- BOJ
- Lv2
- BFS
- rxcocoa
- TCA
- UIKit
- CollectionView
- Kuring
- ios
- swift
- visionOS
Archives
- Today
- Total
๋ชฉ๋กaccesscontrol (1)
lgvv98
[Swift] New access modifier: package
New access modifier: package Introduction ํ์ฌ ๋ค๋ฅธ ๋ชจ๋์์ ํน์ ์ฌ๋ณผ์ ์ ๊ทผํ๊ธฐ ์ํด์๋ public์ผ๋ก ์ ์๋์ด์ผ ํจ. public ํจํค์ง ๋ด์ธ๋ถ ๋ชจ๋์์ ์ ๊ทผ ๊ฐ๋ฅํ๊ธฐ์ ๋ฐ๋์งํ์ง ์์. ๋ฐ๋ผ์ ์๋ก์ด ์ ๊ทผ์ ์ด์๋ฅผ ๋ง๋ค์ด ์ฌ๋ณผ์ ๋ฒ์๋ฅผ ๋ ๋ช ํํ๊ฒ ํ๊ณ ์ ํจ. Swift 5.9์์ ๋์ Motivation Module Engine in gamePkg: public struct MainEngine { public init() { ... } // `public`์ผ๋ก ์๋๋ ํ๋กํผํฐ public var stats: String { ... } // ๋์ผํ ํจํค์ง์ `Game`์์๋ง ์ ๊ทผํ ์ ์๋ `run` ํจ์ public func run() { ... } } Modul..
apple/๐ Apple Docs & iOS & Swift
2024. 4. 5. 02:14