Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 리펙토링
- Xcode
- combine
- Protocol
- ios
- Clean Code
- HIG
- RxCocoa
- Observable
- rxswift
- 클린 코드
- swiftUI
- 스위프트
- 리팩토링
- 리펙터링
- uiscrollview
- tableView
- clean architecture
- MVVM
- UITextView
- UICollectionView
- Refactoring
- SWIFT
- 애니메이션
- uitableview
- collectionview
- Human interface guide
- map
- swift documentation
- ribs
Archives
- Today
- Total
목록@usableFromInline (1)
김종권의 iOS 앱 개발 알아가기
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/b1Zhf3/btsrClwKNnN/1DqyLuOjkHnXRNDrL2kmrk/img.png)
@inlinable 키워드 함수를 호출할 때, 호출하는 오버헤드를 줄이기 위해서 호출하는것이 아닌 이 키워드가 사용된 곳에 함수의 구현부를 그대로 복사해와서 오버헤드를 줄이는 기법 ex) 애플의 AttributedString 구현부에서 @inlinable 사용 예시 @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *) extension UnsafeMutableBufferPointer : ContiguousBytes where Element == UInt8 { @inlinable public func withUnsafeBytes(_ body: (UnsafeRawBufferPointer) throws -> R) rethrows -> R { return tr..
iOS 응용 (swift)
2023. 8. 24. 01:55