Implementing observable in Swift
Read OriginalThis technical article explores how to build a native Observable property system for pure Swift classes, filling the gap left by KVO. It details the API design goals, demonstrates usage with code samples, explains leveraging Swift's __conversion() for implicit type compatibility, and discusses encountered compiler issues and a wish-list for language improvements.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser