์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
Tags
- visionOS
- ๋ฐฑ์ค
- arkit
- raywenderlich
- XCTest
- ํ๋ก๊ทธ๋๋จธ์ค
- UIKit
- ํจ์คํธ์บ ํผ์ค
- TCA
- Xcode
- reactorkit
- SnapKit
- Swfit
- SwiftUI
- BOJ
- BFS
- swift
- Kuring
- realm
- Flutter
- node.js
- tableView
- RxSwift
- designpattern
- rxcocoa
- combine
- Lv2
- CollectionView
- MVVM
- ios
Archives
- Today
- Total
๋ชฉ๋ก2024/04/05 (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