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 | 29 | 30 |
Tags
- Human interface guide
- collectionview
- clean architecture
- rxswift
- Xcode
- 클린 코드
- uiscrollview
- Protocol
- 리펙토링
- SWIFT
- MVVM
- scrollview
- UICollectionView
- Clean Code
- 리팩토링
- uitableview
- ios
- 애니메이션
- combine
- map
- UITextView
- Observable
- RxCocoa
- Refactoring
- tableView
- swiftUI
- ribs
- HIG
- 스위프트
- swift documentation
Archives
- Today
- Total
목록2025/09/24 (1)
김종권의 iOS 앱 개발 알아가기
인터페이스 제공 방법만약 링크 터치 이벤트를 처리하는 LinkDetectionText를 만들고 싶은 경우, LinkDetectionText 내부에서 해당 프로퍼티를 사용\.openURL의 정체: SwiftUI가 미리 정의한 EnvironmentKey@Environment(\.openURL) private var openURL아래처럼 openURL 프로퍼티를 선언한 후 이 프로퍼티를 마치 클로저처럼 실행시키면, 외부에서 사용이 가능struct LinkDetectingText: View { @Environment(\.openURL) private var openURL // AttributedString { ... }}외부에서는 openURL 키를 가지고 envionment 함수의 클..
iOS 응용 (SwiftUI)
2025. 9. 24. 01:47
