Krzysztof Zabłocki 7/17/2014

Implementing observable in Swift

Read Original

This 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.

Implementing observable in Swift

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser