Day #51

Objc Bridging

Bridging between data structures (set, array, dict) in swift and objc is usually O(1) time space complexity. If elements in these data structures are not classes or objc protocols or bridgeable to a foundation type they will be lazily converted on call, which is O(n). So…. do your research - some stuff is toll free, but some stuff is not.

Originally published 10/06/2021 https://pittcsc.org/, republished 09/16/2022.

Licensed under CC BY-NC-SA 4.0
Last updated on Oct 06, 2021 00:00 UTC
Built with Hugo
Theme Stack designed by Jimmy