• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

CoreFoundation

Swift.Any as? CFType

Objective-C 의 API 를 Swift 로부터 사용할 때, 다음과 같이 옵션 항목을 Dictionary 형으로 지정하는 것이 자주 있다. 보통 Swift 측에서 API 에 값을 던지는 분에는 아무것도 문제 없지만, 스스로 Any 에서 CoreFoundation 구체적으로는 ↑ 의 API 에 건네지는 [String : Any] 의 Any 를 CFAllocator 로서 꺼내고 싶다. 이것...

XcodeSwiftCoreFoundationObjective-C

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more