Generic development and generic data types in Swift - continuing series of articles

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Generic development and generic data types in Swift - continuing series of articles

Javier Siloniz Sandino
We're continuing our series of articles about generic development, and more specifically about creating our own data types in Swift. This time we go a little deeper into the Swift syntax for generics, to be able to apply certain restrictions to our types (i.e.: force conformation to protocols). After that, we re-visit another old friend from the past, the stack, providing a complete implementation based on singly-linked lists.

Come and check it out to read the full article and download the included interactive Playground here!!

--
You received this message because you are subscribed to the Google Groups "Swift Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/swift-language/21727fe4-e7b5-4721-ab1e-5d89af7ff0ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.