+ IBM Watson • Strings Gonna String • Swift 4.1, 4.2, 5.0 Current Developer Topics Cocoa Coders 2018-03-22 Closures • Contributing to Swift • France Rescues Developers • iPhone SDK Ten Years Old
• McEnery Convention Center, San Jose, California • Lottery closed 3/22 (Th) at 12 noon central • Winners announced 3/23 (F) 7 pm central • The Use of Augury to Divine the Future by Examination of the Entrails Provided to Us by: https://developer.apple.com/wwdc/ Cocoa Coders 2018-03-22 Closures
using certain character sequences could cause apps to crash” The Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data. https://github.com/minimaxir/big-list-of-naughty-strings/ Cocoa Coders 2018-03-22 Closures
which are resolved at runtime in a completely type safe way. https://www.hackingwithswift.com/articles/55/how- to-use-dynamic-member-lookup-in-swift https://github.com/apple/swift-evolution/blob/ master/proposals/0195-dynamic-member- lookup.md Cocoa Coders 2018-03-22 Closures Swift 4.2 (2 of 4)
custom subscript into simple dot syntax.” WHY: 1) more safety 2) Swift World Domination interact with Python, Javascript, others Cocoa Coders 2018-03-22 Closures Swift 4.2 (3 of 4)
@dynamicMemberLookup struct Person { } Create a “subscript” method to allow access, e.g.: subscript(dynamicMember member: String) -> String { } Later in the code, acess elements of struct via dot notation, e.g.: somePerson = Person() a = somePerson.name Cocoa Coders 2018-03-22 Closures Swift 4.2 (4 of 4)
for standard library conditional conformances and recursive protocol requirements • API resilience Allow public APIs for a library to evolve over time while maintaining a stable ABI • Memory ownership model Tackle the pieces of the ownership model that are key to ABI stability Swift 5.0 (1 of 2) Cocoa Coders 2018-03-22 Closures
possibly Swift 3 • String ergonomics Make String easier to use and more performant • Foundation improvements Make the Cocoa SDK work seamlessly in Swift • Improvements to existing standard library facilities Minor additions only • Syntactic additions Changes must be extremely well-motivated and will be subject to additional scrutiny • Laying groundwork for a new concurrency model Finalizing this is a non-goal for Swift 5 Swift 5.0 (2 of 2) Cocoa Coders 2018-03-22 Closures
their applications, and sell to Google and Apple, their prices are imposed, Google and Apple take all their data, Google and Apple can unilaterally rewrite their contracts” • Seeking two million euro fine • Not seeking change in abusive practices (?) • Apple: Nothing to see here, move along Cocoa Coders 2018-03-22 Closures