In this talk we start by looking at where we came from with Objective-C, and how we feel about Swift. This presentation is about trying to discover what idiomatic Swift is by looking at a series of examples with "Swift" solutions.
var path: String { switch(self) { case .Notifications: return "/notifications" case .UserProfile(let username): return "/users/\(username.stringByAddingPercentEscapes...)" case .ProductDetail(let categoryId, let productId): return "/categories/\(categoryId)/products/\(productId)" } } }