Tech 💻
-
Swift: Generic protocol (p.1)
In this article, we would look into how to implement a generic protocol. A few lacks of language support (Swift version prior to 3.0) would be also pointed out for discussion.
-
Swift: Concrete types in Protocol
A specific use case that we are unable to use concrete types in protocol, and how to fix it.
-
Swift: Currying
This topic has been mentioned as a part of Functional programming. Though it’s kind of fun to use currying, we often see it on the list along with functors, applicative, monads… In this article, I’ll show you a couple of ways to have fun with currying.
-
Swift: Optional — map
A few experiments with optionals in Swift.
-
Swift: Box with recursive data structure
A workaround to model recursive data structure with enum
-
RAC 3.0 with Login workflow
A particular example of RAC 3.0, applied in Login workflow.
-
Optional - Functional
A demonstration of lazy evaluation using a simple trick