Generics are one of the features of Swift that set it apart from many other languages. Since Swift debuted, developers have been wondering when to use them and what to use them for. By looking at the standard library, which is the first piece of software to use generics, we can better understand their purpose and utility.
In this talk, Karoly describes several ways to implement the same simple ordered set protocol in Swift, demonstrating how the language supports a number of surprisingly different approaches to programming. At every step, we trade extra complexity for improved runtime performance, ending on an implementation that is ludicrously fast but also quite difficult to handle.
In the Objective-C kingdom, the evil Queen NSObject was reigning over her people by keeping them under the control of the inheritance chains. But one day, a Swift wizard named Christobald came to create a new kingdom next to the Queen’s. The war between the two kingdoms was ongoing for several years when the wizard suddenly left...
Swift introduces new ways to model data through value types like structs and enums. Drew discusses his experiences rewriting the data model of the vector graphics app Sketch to use value trees, and finishes off pondering whether future data modelling frameworks could be based on value trees, rather than entities and relationships. To that end, he also introduces the experimental project Impeller https://github.com/mentalfaculty/impeller.
As we all know, everything rendered out of CSS is in a box model. That is why not many people are as enthusiastic as Wenting is about using CSS to draw, since everything has to be some sort of rectangles. In this talk, Wenting works inside of the box and transforms a single div to this mustache icon, all this live!
Sure, everyone uses WebFonts now. But are you using the full capabilities of modern OpenType fonts, with your CSS? Did you know how to get tabular or lining numerals, how to avoid fake smallcaps? Are you up to speed on chromatic fonts? And what is coming in the future, like Variation Fonts? Are you ready to power up on webfonts?
This story sums up Varya's experience in developing modular web solutions and pattern libraries. She is currently doing exactly the same as what she was doing 8 years ago, but in a very different way. In fact, the reasoning of choices for methods and tools to apply goes directly from grasping human nature, no less. Hint: BEM, living style guides and visual regression tests are involved.
The open source release of Swift was much more than we might have hoped for, enabling an unprecedentel level of dialogue with Apple. TJ discusses the stated goals of the upcoming 2.2 and 3.0 releases, what will not be included and how we can take this information to foster the most fruitful discussion.
Tailoring apps to users from over 150 countries with different languages, cultures and formatting rules is hard and often overlooked by developers. Roy takes us on a journey around the world in search of the strange and wonderful, uncovering many tools provided by iOS to make global users feel at home.
CSS was designed with boundaries in place to make it simple and accessible to “non-programmers”. Those boundaries have benefits as well as drawbacks that affect us in technical and non-technical ways. Recent developments in web tooling and technologies are expanding the boundaries of CSS -- hopefully for the better.
Curious how to design an SDK with Swift developers in mind? Twitter recently launched Fabric, a modular platform which makes it easy to build great apps. Romain takes us through Twitter’s experience building Fabric with seamless Swift support at launch, and shares some of his stories and insights working with the language.
Usually, functional programming is taught by abstract functional techniques. Instead this talk goes for a different approach showing examples of unfunctional, imperative code people may have written in the past and how that can be improved with a functional style to write clearer, declarative and testable code.