WWDC2022 Platforms State of Unions 복습 정리
# Platforms State of Union
* Xcode Clould(유료)
- 2022년말까지 개인은 무료
* Vision of Platform
- 대전환기: UIKit→SwiftUI, InterfaceBuilder→Xcode
---
* Swift - 강타입 언어
- Concurrency
- `for` statement with `await`, `try await`
- `distributed actor`
- RegularEx Expression - JS와 같이 letteral 로 생성가능
⨁ RegExBuilder - 읽을 수 있는 RegEx
- Generic with `some`, `any`
- `some`: on function's type parameters
- `any`: on property' type parameters
- SwiftPackage PlugIn - SwiftPackage for Xcode
> VSCode 견제를 위한 것으로 보임
> Ruby에 내어주었던 Console PackageManager 의 반면교사
---
* SwiftUI - 어떻게 보일지를 작성하는 것이다.
- SwiftCharts framework
- menuBar on macOS
- System Experience
- lock screen WidgetKit (Circle, Rectangle, inline)
> 멀티Preview 왠지 M1Ultra 써야될 것 같은디.
---
* Message
- Sharing Documents / 협업도구
* AppIntents framework
- shortcut 으로 바로 배포되는 ... - 결과화면 SwiftUI로 제공
* SiriKit
- SiriTipView - SwiftUI로 시리실행결과를 뷰로 제공하기
* PassKeys
- 난수로생성된 mainPasskey 를 로칼의 AppKey로 관리하는 방식
- AppKey가 털려도 앱만 털릴 뿐 Web등의 확장이 불가능 할 듯.
- 업계표준으로 참여기업 좀 되는 듯.
> 그러나 국내는 네이버와 카카오 때문에 거의 못 쓰겠지만...
---
## NewAPIs
* iPad - USB device Driver
* Watch - new background modes
* tvOS - share 모션 데이터/ 설치제안
* Ads And Privacy
* RoomAPI - New 3DModel 적용
* Focus - FocusFilter
> 알림필터 직접 구현이 가능해 보임
* Metal
* Geocode reverse 제공
* WeatherKit - 유료
- 과거까지 전세계 모든 기상정보를 줄건데.. 쿼리당 돈 내시오.
* LiveTextAPI - QRCode, text추출
- 바꿔치기 예제 있는 듯.
- Scanner와 바꿔치기
---
FoodTruck wwdc2022 Platforms State of Unions 예제 꼭 찾아보기