280 Results for 'Swift'

What's New in Swift WWDC 2017 Session 402
Swift language versions, that can be described in the manifest, so the Swift Package Manager will do the right thing. Now, we think that with Swift 3.2 and Swift 4 co-existence, with the smaller amount of change from Swift 3 to Swift 4 that you'll get a nice
Swift Interoperability In Depth WWDC 2014 Session 407
Swift. We've talked about some of the details of bridging Core Cocoa data types and using Swift's native types. And we talked about automated CF memory management available in Swift. For more information, check out the "Swift Programming Language Book," and also the "Using Swift with Cocoa and
What's New in Swift WWDC 2016 Session 402
Swift 2.3 or Swift 3. [ Applause ] If you're not quite ready to jump to Swift 3, Swift 2.3 is just Swift 2.2 that works with the new SDKs, okay, and we will be accepting submissions to the app store, both with Swift 3 and 2.3, but you should be
Integrating Swift with Objective-C WWDC 2014 Session 406
Swift with Objective-C. Now many of the Swift demos here at the conference start by creating either a brand-new project from one of expo's project templates or a playground and that's great. Playgrounds are a great way to explore the Swift language. But many of you
Swift API Design Guidelines WWDC 2016 Session 403
Swift 2 to Swift 3. You can notice there's a whole lot of .swift files on the left. Basically every Swift file in the entire project is changed by the transition from Swift 2 to Swift 3. And if you're looking at some of the details in the
What's New in Swift WWDC 2019 Session 402
Swift. Today we're going to talk about two important and exciting Swift releases. Swift 5, which was recently released in March, and Swift 5.1 which is available now as a developer preview in Xcode 11. Combined together, these two releases further unleash the potential of Swift as a language
What's New in Swift WWDC 2018 Session 401
Swift 4.2. I think the natural place to start is well, what is this release about and how does it fit into the bigger picture? Swift updates occur some major updates occur about twice a year. And Swift 4.2 is a major update over Swift 4.1 and 4.0. Now there
Going Server-side with Swift Open Source WWDC 2016 Session 415
Swift to the server. First, I'll tell you about community enablements and tell you about our Swift Sandbox and Swift package catalog services that we created to help developers to easily learn, discover, and share Swift assets. Next, we are motivated by consistent developer experience that links the client
Introduction to Swift WWDC 2014 Session 402
Swift. Before we get started, I want to share you a little, a little fact. So we announced Swift yesterday at the keynote and, as part of the announcement, we made available to you this document. It's the Swift Programming Language. It's the guide and reference to the
What's New in Foundation for Swift WWDC 2016 Session 207
Swift Evolution mailing list. The first was mutability in Foundation value types, which is about embracing that Swift mutability model in the Foundation framework. And also, dropping the NS prefix in Swift Foundation, which is about establishing those common types and design patterns for Swift, no matter which platform you
What's New in Swift WWDC 2015 Session 106
Swift making it easier to write more beautiful and natural code. Today we'll talk about five new things in Swift. Before we get diving into what's new in Swift 2, I think it is important to point out that Swift 1.2 was also a huge update. It was
Getting to Know Swift Package Manager WWDC 2018 Session 411
Swift, we're able to take advantage of Swift's power and philosophy. SwiftPM is itself written in Swift and it's even a Swift package. Beyond that, we have the opportunity to work closely with the Swift language and core library projects to build great package manager features that
Advanced Swift WWDC 2014 Session 404
Swift model. [ Applause ] We talked a lot about what you can do in Swift and I want to tie it up by talking about how Swift actually works in a couple of quick ways. Like C, Objective-C, and C++, Swift is a statically compiled language with relatively small runtime
Platforms State of the Union WWDC 2017 Session 102
Swift, and both IBM and SAP have released SDKs that allow Swift developers to take advantage of their services infrastructure. So we're thrilled at how Swift has been doing, but Swift, of course, isn't standing still. Xcode 9 includes a new release of Swift, Swift 4, and we
Improving Your Existing Apps with Swift WWDC 2015 Session 403
Swift, so I will go ahead and make a new Swift file. It's command-N in Xcode. We will choose a Swift file, create it, and because it's the first time that I've added Swift to this project, I have the option to create the bridging header
Swift and Objective-C Interoperability WWDC 2015 Session 401
Swift usually as an optional NSError reference and you can handle it as appropriate for whatever API you are using. Remember that NSError conforms to Swift's error type protocol, so you can also use it with Swift's own error handling mechanisms. All of this shows that Swift is
Platforms State of the Union WWDC 2016 Session 102
Swift goes to new platforms and new kinds of users with Swift Playgrounds, this becomes an even bigger concern. So with that as context, let's dive into what's new with Swift 3. Swift 3. We announced it in December as part of the open source launch of Swift
Understanding Swift Performance WWDC 2016 Session 416
Swift Performance. I'm Kyle. Arnold and I are so excited to be here today to talk to you guys about Swift. As developers, Swift offers us a broad and powerful design space to explore. Swift has a variety of first class types and various mechanisms for code reuse and
Getting Started with Swift WWDC 2016 Session 404
Swift. I'm Dave Addey, and together with my colleagues Brian and Alex, I'd like to give you a quick overview of the Swift Programming Language. In the next 60 minutes you'll learn enough about Swift 3 to be able to read Swift code and hopefully to start
Advanced Swift Debugging in LLDB WWDC 2014 Session 410
Swift frame, the Swift compiler is trying to compile your Swift, your expression with the Swift syntax. But that's not Swift syntax, that's Objective-C syntax. And so the compiler gets really unhappy and he mentions things like, "anonymous closure argument not contained in a closure." OK, I
Intermediate Swift WWDC 2014 Session 403
Swift Talk, you write them by writing the base height followed by a question mark to indicate their optionality. Now, in Swift, nil is not like Swift in Objective-C where in Objective-C Swift is an object pointer to nothing and it only works for the reference types. In
What’s New in Swift Playgrounds WWDC 2017 Session 408
Swift 3.0 to these keys. However, now your selections are honored. Additionally, Swift version is now a required key for you to fill in. This is all stored in the book level Manifest.plist. And for Swift version, you should use the major and the minor version of Swift that you
Creating Swift Packages WWDC 2019 Session 410
Swift package manager's open source project, which we'll abbreviate as Swift PM. Swift PM has been out for a couple of years and Xcode support of Swift packages is built on top of it. Swift is a cross-platform language and Swift PM is a cross-platform built
Behind the Scenes of the Xcode Build Process WWDC 2018 Session 415
Swift. So that's how Swift imports Objective-C. But what about the other direction? How does Objective-C import Swift? The answer is that Swift generates a header that you can pound import. This allows you to write classes in Swift and call them from Objective-C. Let's
What's New in Foundation WWDC 2017 Session 212
Swift. So when an NSArray is returned from an Objective-C API, perhaps in a framework, and you use it in Swift, you're receiving the Swift value type: array, dictionary, and set. And to preserve value semantics, those structures call copy on the reference type when they do that
Platforms State of the Union WWDC 2014 Session 102
Swift coding language is, how do you start using it? Well, I made that really easy for you. Swift uses the same object model and the same memory management approach as Objective-C. You can import all our system APIs directly into Swift. Foundation collections are transparently bridged to Swift
What's New in Xcode 6 WWDC 2014 Session 401
Swift itself, you're going to love the experience of playgrounds. Playgrounds also offer a great learning environment. The Swift language guided tour is actually a playground where you can try things out right as you're reading and learning about Swift. And of course Swift is fully integrated into
Create Your Own Swift Playgrounds Subscription WWDC 2018 Session 413
Swift Playgrounds. My name is Grace. And my name is Holly. I'm a software engineer on Swift Playgrounds. And I'm a software engineer on Xcode Source Editor. Swift Playgrounds is an app that allows anyone to code on the iPad using the Swift Programming Language. As authors, you
Swift Playgrounds 3 WWDC 2019 Session 405
Swift. And we'll demonstrate some techniques that you can use to build even more engaging Playground experiences. Swift Playgrounds is an app that you can write Swift code in as well as learn from content that other authors have made. The code that you write is real Swift and
Building Faster in Xcode WWDC 2018 Session 408
Swift Syntax. However, when you do this migration, you may have actually selected to keep the Swift 3 compatibility mode for a particular build setting. And that's the Swift 3 @objc imprints. This is an option when you migrate to Swift 4 to keep on a rule from Swift
Optimizing Swift Performance WWDC 2015 Session 409
Swift and give you some advice on writing high-performance Swift code. And finally, Joe will demonstrate how to use instruments to identify and analyze performance bottlenecks in your Swift code. So Swift is a flexible and safe programming language with lots of great features, like closures and protocols and
What's New in LLDB WWDC 2015 Session 402
Swift compiler into LLDB. And the Swift compiler already is a very powerful tool. And we've used a lot of lessons that we learned from integrating the Swift compiler, and we are improving them both together. Let's talk about how the expression parser works with Swift, with a
Introduction to LLDB and the Swift REPL WWDC 2014 Session 409
Swift.-getOptionalValue". Now the Swift underscore part the Swift dot part is very important here because it tells you that you're inside the Swift module. The Swift module is the Swift standard library, so we already know that standard library code crashed. Now, what was the reason that it
Platforms State of the Union WWDC 2015 Session 102
swift. Finally, let's talk about Xcode. Xcode 7 introduces a revamped Swift migrator. It automatically will move your Swift 1 code to Swift 2 syntax, including adoption of the new error handling model. As we continue to evolve the Swift language going forward, we will keep moving the migrator
What's New in Cocoa WWDC 2016 Session 203
Swift, you may need to do so as well by using something like NS Swift Name, which lets you override the default choice the importer is doing. You also know that the migrator converts your There's a migrator that converts your existing Swift 2 code to Swift 3 and
Improving Your App with Instruments WWDC 2014 Session 418
Swift is a pretty big deal this year, and we're really excited about what it offers. But as you go out and adopt Swift in your application, whether it's by adding a new Swift class or even converting some of your current code to Swift we want to
Debugging Tips and Tricks WWDC 2016 Session 417
Swift code but you're also going to set it on a bunch of Objective C methods and you don't care about the Objective C methods, you only want the Swift ones, then you can just specify the language Swift and it won't set a breakpoint on any
What's New in Cocoa WWDC 2014 Session 204
Swift. Swift, for instance, has a stricter definition for the property is and by declaring the properties explicitly in Objective-C, we allow them to be exposed properly in Swift as well. Now, one consequence of all this is that as you build your applications against the new SDKs, you
Binary Frameworks in Swift WWDC 2019 Session 416
Swift. Now, before I talk about binary frameworks, I actually want to take a moment to talk about Swift Packages. With the new support for Swift Packages in Xcode 11, it's easy to create and use them in your projects and distribute them to others. And Swift Packages are
Adopting Swift Packages in Xcode WWDC 2019 Session 408
Swift Packages from Xcode Projects. The Swift Package Manager is part of the Open Source Swift tool chain. It was introduced in Swift 3. And since then, a lot of Swift Packages have been created. Also, a lot of Open Source libraries that were written for other package managers have
Introducing Swift Playgrounds WWDC 2016 Session 408
Swift Playgrounds is a really exciting new app for iPad that allows you to program in Swift and brings the power of Swift literally to the tips of your fingers. If you aren't that experienced with programming, we've got you covered. We've built a great learn to
Modern Swift API Design WWDC 2019 Session 415
Swift, start with a protocol. But, that doesn't mean that when you open up XCode and you've got an empty source file you type the keyword "protocol" as your first thing. In Swift API design, like any Swift design, first explore the use case with concrete types. And
Swift Generics (Expanded) WWDC 2018 Session 406
Swift standard library. And together with my colleague Doug, from the compiler team. We're going to talk to you about Swift generics. So the recent releases of Swift have added some important new features. Including conditional conformance and recursive protocol constraints. And, in fact, with every release of Swift
Localizing Content for Swift Playgrounds WWDC 2017 Session 410
Swift Playgrounds, and I'll be joined later by Aaltan Ahmad from the Internationalization Team. Now it's a big world out there full of many different diverse people that would love to use the amazing content that you build in Swift Playgrounds. However, at Swift Playgrounds, right now we
Using Collections Effectively WWDC 2018 Session 229
Swift. And that is, all objective-C APIs in Swift appear as Swift native value types. And this is actually really wonderful because it let's code in each language speak naturally with the types that they work with best. But how can this work? The two languages have completely
Finding Bugs Using Xcode Runtime Tools WWDC 2017 Session 406
Swift. Note that this requires that you are using macOS, High Sierra and iOS 11. But we are able to detect races on NS mutable array and NS mutable dictionary and also on Swift array and Swift dictionary. And with that, I'd like to show you how this works
What's New in Cocoa WWDC 2015 Session 202
Swift but also make the APIs clearer and also provide compile time type-checking which is very important, of course. Nullability is whether values can or cannot be nil. If you use Swift with X v10 or iOS 8 SDKs, you know the Swift APIs already have the proper nullability
Getting Started with Xcode WWDC 2019 Session 404
Swift, welcome. To get started with Swift, I recommend going through the Swift guided tour which is available online or in an Xcode Playground so that you can experiment with the Swift code as you walk through the tour. This resource is available on docs.swift.org. And with that, let's
What's New in Cocoa WWDC 2017 Session 207
Swift, the Swift 3 name remains exactly the same. So your code is source compatible. The Swift 4 has a brand-new name. And the old name no longer even exists. So Swift 4 is not compatible. However, we do have a migrator for moving to Swift 4 so you
Platforms State of the Union WWDC 2019 Session 103
Swift and Xcode to deliver some awesome results. So let's start with Swift. Now in our fifth year, Swift has matured and is continuing to leap forward. Where our newest and flagship technologies, from machine learning to augmented reality are possible only because of Swift and it now being
Efficient Interactions with Frameworks WWDC 2017 Session 244
Swift string, the backing store is actually an NSString and it's bridged from Objective-C. And so, now let's take a look at what happens when we ask for that label's text from Swift. The NSString form the framework is a reference type, while Swift's string
Keynote WWDC 2014 Session 101
Swift and it totally rules [laughter]. Swift is fast. It is modern. It is designed for safety. And it enables the level of interactivity and development that you've never seen on the platform. When it comes to speed, Swift is great. Compare Python a popular scripting language with Objective
Protocol-Oriented Programming in Swift WWDC 2015 Session 408
Swift, we made the first protocol-oriented programming language. [Applause] So, yes, Swift is great for object-oriented programming, but from the way for loops and string literals work to the emphasis in the standard library on generics, at its heart, Swift is protocol-oriented. And, hopefully, by the time
Swift Playgrounds WWDC 2014 Session 408
Swift this week. So there was an Introduction to Swift session yesterday, which you can catch on the video. We also have an Intermediate Swift session later this afternoon. There's also an Advanced Swift session tomorrow which you'll be able to see. We had an Integrating Swift with
Building Modern Frameworks WWDC 2014 Session 416
Swift with all of these things, versus what makes it feel like there's a little bit of friction there. All right, so please make sure that you're filing those [inaudible] on how you'd like it to work. Let's take a quick look at a Swift function
Understanding Crashes and Crash Logs WWDC 2018 Session 414
Swift dictionary so that's not good. Swift dictionaries are not thread safe by default. So if we want to share a mutable Swift dictionary between multiple threads we have to protect it with synchronization, which means we have to make sure that only one thread accesses it at a
What's New in Core Data WWDC 2014 Session 225
Swift is intended as a language for Cocoa programmers. Cocoa is nice and powerful and dynamic. Core Data is a very dynamic and very powerful piece of Cocoa. Well, Swift must support Core Data, period. So it does. You get the full power of Core Data in Swift. You can
Inside SwiftShot: Creating an AR Game WWDC 2018 Session 605
Swift makes this very easy. For struts, if all the members of the struct are codable, then all you need to do is mark that struct as codable and the Swift compiler takes care of the rest, building all the infrastructure needed for the serialization. Swift doesn't do that
Swift in Practice WWDC 2015 Session 411
Swift team at Apple. Alex and I have the real honor and privilege to talk to you this afternoon about some great ways to use Swift in practice to find more issues in your code at compile time. This is a pretty broad theme, so we decided to focus on
Building Better Apps with Value Types in Swift WWDC 2015 Session 414
Swift, and then talk about using value types in practice and then the mixing of reference types and value types together within Swift. Let's get started. Reference semantics. So the way into reference semantics in the Swift world is to define a class. Here's a very simple temperature
What's New in Cocoa for macOS WWDC 2018 Session 209
SWIFT BRIDGED TYPEDEF, which is effectively a typedef. Now, here's what the Swift exposure of this looks like. In Swift 4, NSImage.Name came across as a struct, which is the way you would declare the string enumerations. In Swift 4.2, it's as a typealias, a simple, good old
Introducing Accelerate for Swift WWDC 2019 Session 718
Swift developers. We've looked at four libraries and created new Swift-friendly APIs to make using Acclerate in Swift projects really easy. The four libraries we focused on are vDSP that provides digital signal processing routines including arithmetic on large vectors, Fourier transforms, biquadratic filtering, and powerful type conversion
What's New in Cocoa Touch WWDC 2018 Session 202
Swift 4.2. And for Swift 4.2 we really wanted to make sure that UIKit had a really great feel when used in Swift across your app, especially where it interacted with other Swift Standard Library or places that Swift had common patterns. So, we audited all of UIKit and made
Keynote WWDC 2015 Session 101
Swift. [Cheers and applause] You all know that the growth that Swift has been experiencing is just unprecedented, and we've all seen it with the flood of applications coming in to the App Store. Well, now we are stepping on the gas this year with Swift 2. Now, Swift
Platforms State of the Union WWDC 2018 Session 102
Swift's great momentum as part of Xcode 10. And we also have another release coming up for you in the language, Swift 5. The focus of Swift 5 is greater adoption by delivering Swift as part of the OS. Apps will no longer need to include the Swift runtime
Teaching with Swift Playgrounds WWDC 2017 Session 416
Swift Playgrounds team. I'm really excited to be here today, the last session of WWDC 2017 to teach you how to bring those ideals: goal, audience, and passion into your Swift Playgrounds. So, let's start at the beginning. What is a Swift Playground? Some of you, all our
What's New in Xcode WWDC 2015 Session 104
Swift 2, building on the new programming language we introduced last year. Swift 2 is faster across the board, not only will your apps run faster when you're running and debugging in Xcode, more importantly, they'll run faster on customer devices. Swift 2 also includes a number of
App Startup Time: Past, Present, and Future WWDC 2017 Session 413
Swift, and the reason is Swift is designed in such a way that it avoids a lot of pitfalls that C, C++ and Objective-C allow you to do. Swift does not have initializers. Swift does not allow certain types of misaligned data structures that cost us time in launch
Low Energy, High Performance: Compression and Accelerate WWDC 2015 Session 712
Swift as well. [ Applause ] So everything from here on in the talk or in my piece of the talk is going to be Swift, all of the examples are Swift. For the most part, everything is about exactly the same in C, Objective-C and C++. If you want to
What's New in LLVM WWDC 2018 Session 409
Swift and Objective-C code. So as you know Swift code can be imported into Objective-C and Xcode allows you to do that by generating a header file that describes the Swift interface using Objective-C declarations. And you can import this header file into your own Objective-C
Advances in UI Data Sources WWDC 2019 Session 220
Swift types, what those Swift types need to conform to and so on, that they need to be hashable. To take us on a deeper dive and bring these issues into clear focus. I'm going to invite my colleague, Steve, back on stage. Thank you. [ Applause ] And so I
Improving Existing Apps with Modern Best Practices WWDC 2016 Session 213
Swift 3, which is a Swift API for Grand Central Dispatch. So, instead of that C API we had before, I can now say a dispatch cue, which cues the main cue. What kind of operation? An asynchronous one. We don't need that anymore. And here's what I
Using and Extending the Xcode Source Editor WWDC 2016 Session 414
Swift literals, the Swift color and image literals. And I'd really like to use them in my own code. So I think what I'm going to do is create a new source editor extension that can automatically convert any uses of UIImage or UIColor to the corresponding Swift
Advanced iOS Application Architecture and Patterns WWDC 2014 Session 229
Swift. And that's just because I like Swift quite a lot. But the topics we're discussing in this particular section really don't require Swift. All right. So with the journaling application, write down what's going on in your life, keep track of things. Maybe you're
Extending your App with Safari App Extensions WWDC 2016 Session 214
Swift API that you can use to check at runtime whether Safari services APIs whether Safari services APIs are available. Let's step through the Swift code API. If SFSafari service is available returns true, you can safely use the new API. If not, fall back to other behaviors. These
Advanced Debugging with Xcode and LLDB WWDC 2018 Session 412
Swift. And Swift is a strict language and doesn't allow you to call functions that haven't been strictly defined. However, Objective-C [inaudible] code can run wild and free in Objective-C world and you can pretty much do whatever you like. I mean it's a dynamic
Protocol and Value Oriented Programming in UIKit Apps WWDC 2016 Session 419
Swift Performance talk. It's a great talk for learning how Swift works and how to write fast Swift code. Okay, we now have a great implementation of our DecoratingLayout. But our app also includes a lot of other layouts, like this fancy cascading one. And this layout is very
Cryptography and Your Apps WWDC 2019 Session 709
Swift. There are four aspects of Apple CryptoKit I would like to share with you this afternoon. First, we are going to talk about CryptoKit and Swift. Second, we will talk about the curated set of algorithms that is available in CryptoKit. Third, we are going to discuss about the
Thread Sanitizer and Static Analysis WWDC 2016 Session 412
Swift. Which will be especially exciting to those of you who love to live dangerously in Swift. So what does it mean if you are using unsafe pointer types? Run your test with Address Sanitizer turned on, it will find some bugs for you. Now, while Address Sanitizer mainly focuses
Continuous Integration with Xcode 6 WWDC 2014 Session 415
Swift support. So how does Xcode Server deal with Swift? Well, it deals with it just like it deals with Objective-C. It does complete feature parity with Objective-C projects. So whether you have a pure Swift project, whether you have a mixed Swift and Objective-C project, Xcode
Concurrent Programming With GCD in Swift 3 WWDC 2016 Session 720
Swift. Synchronization is not part of the language as of Swift 3. You only have one grand key from the language today, which is that your global viables are initialized atomically. But what you don't have is that your class properties are not atomic, and lazy properties of your
Advances in Foundation WWDC 2019 Session 723
Swift update. Some Swift APIs were designed originally with Objective-C in mind, and we continued to improve them over the years. First is scanner. This is the API in Swift 4. It used to use NSString and return objects by reference. In Swift 5.1, we simplify this interface to
Optimizing App Startup Time WWDC 2016 Session 406
Swift structs. So Swift tends to use less data that has pointers for fix-ups of this sort. And, Swift is more inlinable and can better co-gen to avoid a lot of that, so migrating to Swift is a great way to improve this. And one other thing, you
What's New in Xcode 11 WWDC 2019 Session 401
Swift Packages. And here to show you how to get started with Swift Packages in Xcode is Patrick. [ Applause ] Thanks Ken. Today, I'm really excited to show you all Swift Packages in Xcode 11. I will be working on our travel app, which includes a trip planning feature. This
Audio Unit Extensions WWDC 2015 Session 508
Swift, we can't recommend that you do this on OS X because the Swift API is subject to change. If you build your plug-in against one version of the Swift runtime and you are loaded into a host that happens to be using another version, there could be
Neural Networks and Accelerate WWDC 2016 Session 715
Swift using the Swift vector types, I can just do that, and it just works. I don't need to do anything fancy. These types have the same layout. So there's no cost to converting or anything like that. Similarly, for matrices, the Swift matrix types are layout compatible
What's New in LLVM WWDC 2016 Session 405
Swift language was born out of the LLVM project. We're very happy with how you, the community of contributors, have move Swift forward via the open evolution process on Swift.org. That process, and the Swift development processes were informed by the existing LLVM project processes. LLVM has a thriving
Authoring Rich Playgrounds WWDC 2015 Session 405
ve got Swift in Practice, which is happening tomorrow afternoon, and Building Better Apps with Value Types in Swift. Also the What's New in Xcode and What's New in Swift sessions will be great all week. Thanks so much everybody and enjoy the rest of the WWDC. [Applause]
Adding Delight to your iOS App WWDC 2018 Session 233
Swift property observers. These let us run code before or after a property is set. So, we can use the didSet property observer to call setNeedsLayout. This is a really excellent use of Swift property observers in your app. OK. So, we're almost done. Ben, what's the last
Introducing Combine WWDC 2019 Session 722
Swift. That means we can take advantage of Swift features like Generics. Generics let us reduce the amount of boilerplate code that you need to write. It also means that we can write generic algorithms about asynchronous behaviors once and have them apply to all kinds of different asynchronous interfaces
What's New in Cocoa Touch WWDC 2017 Session 201
Swift 4 and Foundation. So, there's actually a lot of really exciting additions to Swift 4. And I'm only going to cover two things, now. The first is archiving Swift native types. So, if you've attempted to use Swift 4 native types like enumerations and structs with
Continuous Integration and Code Coverage in Xcode WWDC 2015 Session 410
Swift. I can load the plist as a dictionary right in Swift. I don't have to do any manual editing of the plist file myself. That gets particularly useful when I want to add something to it, I simply just create a new dictionary literal in swift and go
Great Developer Habits WWDC 2019 Session 239
Swift and developer tools evangelist. He's an incredibly brilliant and kind fellow. And he also happens to be a walking, talking Swift-linter. Every time I submit my code for review, I brace for the tsunami of insightful comments and feedback to help me improve what I've written
Core Image: Performance, Prototyping, and Python WWDC 2018 Session 719
Swift-centric environment, a lot of that can be done as well using Swift playgrounds, and we encourage you to look at a session on creating your own Swift playgrounds subscription. All right. Let's take a look at the main components of PyCoreImage. So, PyCoreImage leverages Python bindings for
What's New in Cocoa Touch WWDC 2016 Session 205
Swift 3 is probably the first thing here. Because with Swift 3, every single API we have is new again. Because we change the rules, we change how we translate from Objective-C to Swift. And we are doing that, to make your code better so it can feel native
Integrating SwiftUI WWDC 2019 Session 231
Swift based API, but we know that you already have a lot of Objective-C code out there. And Objective-C in Swift already can be integrated together quite well. And likewise, you can use SwiftUI with your Objective-C code as well. The standard Objective-C/Swift integration rules
Mastering Xcode Previews WWDC 2019 Session 233
Swift. Thank you. [ Applause ] Yes. This is really fantastic a preview for our UIViewController written in Swift against UIKit. But as I am looking at this ViewController, I am noticing a problem. This text is awfully difficult to read. There is an underlay view beneath the text above the image
What's New in Core Data WWDC 2016 Session 242
Swift and some of the improvements we've made in the area of Xcode integration. And that's a lot so, on with the first, query generations. Query generations is a new feature we've added but before I sort of get into talking about query generations I need to
What's New in SpriteKit WWDC 2015 Session 604
Swift. We have gone through the entire API and we've applied nullability qualifiers and we've adopted Objective-C generics on any array types that are used for paramaters or return types and this will allow you to access the full power of SpriteKit from Swift without any hassle
Introducing Create ML WWDC 2018 Session 703
Swift. So Create ML completes the left-hand side of the equation. The idea is you make a model in Create ML and you run it in Core ML. You do complete end-to-end machine learning in Swift, our favorite language. So you are not dealing with language oddities
Introduction to Xcode WWDC 2016 Session 413
Swift and Objective-C as your programming language. We're going to be using Swift and our app is going to be universal, meaning that it can run on and support both iPhone and iPad. So when you create a new template, there are different options to configuring your project
Profiling in Depth WWDC 2015 Session 412
Swift is easy. Kris has done that. KRIS MARKEL: I have a Swift implementation ready to go, this is an easy port of the Objective-C implementation with a couple of the suggestions they made in this morning's session about improving Swift code, specifically turning on whole module optimization
Best Practices for Building Apps Used in Business and Education WWDC 2016 Session 304
Swift. This is the newest most secure, fastest runtime. If you aren't looking at Swift, looking how to adopt Swift, go to the Swift labs this week. I think you'll be impressed. I'm impressed with the language, it's truly stunning. I shouldn't have to tell
Data You Can Trust WWDC 2018 Session 222
Swift app, this is something you have to be mindful of. Swift can't catch Objective-C or C++ exceptions, and so this can lead to a fatal error in your app. Now again, this can lead to a crash and a bad experience our customers. If the decoding failure
Getting the Most out of Playgrounds in Xcode WWDC 2018 Session 402
Swift, create learning environments or others, and prototype parts of your app. Let's get started with a quick tour of Playgrounds in Xcode. When you first open a playground, Xcode shows you the standard editor. This is the basic editor mode you use in Xcode with a couple additions
SceneKit in Swift Playgrounds WWDC 2017 Session 605
Swift Playgrounds. My name's Michael DeWitt and I'm really excited today to give you an inside look into how we use SceneKit to make the Learn to Code content. So hopefully many of you are already familiar with Swift Playgrounds, but let me show you Learn to Code
Using Store Kit for In-App Purchases with Swift 3 WWDC 2016 Session 702
Swift. So that's really exciting. We've got some new APIs. There's a couple other things that are new, so Swift API, so that's really great. Last week, many of you probably also heard that we have a lot of big announcements around subscriptions. This is something
Embracing Algorithms WWDC 2018 Session 223
Swift and test your code because it'll trap. But if you had to learn this lesson as a C-programmer, like I did, you might not be so lucky. Okay. So, we can fix it by replacing the for loop with a somewhat uglier while loop, which lets us
SwiftUI Essentials WWDC 2019 Session 216
Swift Compiler knows how to translate a closure marked by this attribute into a new closure that returns a single view representing all of the contents within our stack. This is an example of SwiftUI using the power of Swift to help you write less code. views like VStack can
I Have This Idea For An App... WWDC 2018 Session 203
Swift. Now familiarity with a programming language will help you today. But if you're new to Swift or looking for a helpful resource, I recommend downloading the App Development with Swift book from the Apple bookstore. Or checking out the Swift Playgrounds app for iPad. Later [inaudible] is going
Designing for Future Hardware WWDC 2015 Session 801
Swift. And when I say we are going to port them to Swift, I don't mean that we are going to make a fully functional, feature-rich Swift app. It is a lot like the Prototypes in that there are screen shots and they animate based on user touches
Apple Design Awards WWDC 2016 Session 103
Swift. It's using the latest tools. It's using multiple storyboards, storyboard references, auto layout, size classes. Did I mention it was done in Swift? Did I mention that this is their first iOS app? This is a really great app. Congratulations to the team. Back to you, John
Making Apps with Core Data WWDC 2019 Session 230
Swift standard library was introduced in Swift Evolution Proposal 240. But it also exists in Foundation. And you can learn more about that in Session 711. For our purposes, it's a one-dimensional type. So it's only supported when you're not using section fetching. And like the
Delivering an Exceptional Audio Experience WWDC 2016 Session 507
Swift using an overlay on the SDK. And this takes the audio bufferList and makes it look something like a vector or array. So having converted the rawBufferList to the nice Swift wrapper, I can query its count. And if I got at least one buffer, then I can render
What's New with Wallet and Apple Pay WWDC 2016 Session 704
Swift 3, maybe you've already seen some of the big changes in Swift 3. We have improved our API for Swift users. We've actually completely rewritten our sample code, talk about that later. One change that's coming, didn't make seed one, but it will be in
Introducing MusicKit WWDC 2017 Session 502
Swift 4.0 to parse this data, and it really makes it easy to convert JSON data into strongly typed Swift structures. You can simply define a few Swift structures that conform to the codable protocol, and then you can feed such structures to the JSON decoder. In this case, I
What's New in Audio WWDC 2017 Session 501
Swift meta that we saw in the demo. And that is because, it is not safe to use Objective-C or Swift runtime from a real-time context. So, instead, the engine itself provides you a render block that you can search and cache, and then later use this render
What's New in LLVM WWDC 2017 Session 411
Swift may be wondering, what's the big deal here? Swift has a unified syntax, #available, for querying API availability at runtime, and the compiler can even catch missing availability checks at compile time. For more information on availability in Swift, you should check out the Swift in Practice talk
Accessing Health Records with HealthKit WWDC 2018 Session 706
Swift codable or JSON serialization. If it's really fundamental to your app that you have full access to this information Swift codable and JSON serialization may not be appropriate tools. And with that, I'd love to hand back to Peyton and see what wonderful things he can do
Sharing code between iOS and OS X WWDC 2014 Session 233
Swift. If you literally translate how you would shim with Objective-C, this will not compile in Swift. There are ways to shim your code in Swift. But it gets more complicated than your basic conditional compilation that we can use in Objective-C. So just a side note about
What's New in Apple Pay & Wallet WWDC 2017 Session 714
Swift. PKPaymentButton is a UI button subclass. You just provide a type and a style. We have buttons in black, white, and white with an outline. Let me show you the same button in HTML. So, this is the new CSS style it was introduced in iOS 10.1. There's
What's New in Cocoa Touch WWDC 2015 Session 107
Swift. This is taking advantage of the better expressiveness that Swift offers and to improve compile-time type checking. For nullability, you can now specify whether properties actions and return values can be nil or not. We have gone through our entire API and defined where it's valid to
Introducing SwiftUI: Building Your First App WWDC 2019 Session 204
Swift UI is to see it in action by building an app. Using SwiftUI feels like magic, but to make it clear that I don't have anything up my sleeves, I want to go through the entire process of creating an app in SwiftUI starting from scratch. So what
From Art to Engine with Model I/O WWDC 2017 Session 610
Swift and Metal. It's a single-pass forward renderer, physically-based shader, mesh instancing, skinned and animated meshes, multiple materials. Ticking off lots of bullet points there. It's got a straight forward rendering loop. We have on the left side of the diagram, some meshes to draw. For
Apple Design Awards WWDC 2018 Session 103
Swift, Sprite Kit, and Core Audio. They were working remotely between Helsinki and Vienna. And they were doing this in the afterhours from their day jobs. It's all culminated in an app that's really magical. So, congratulations. [ Applause ] Thanks, Andrea. That's Bandimal. All right. Next up in
What's New in Interface Builder WWDC 2014 Session 411
Swift as our language. I just want to make sure this is added to the right target. You want to make sure to add it to your framework target. And now our class is created. So two steps down already. The third step is to tell Interface Builder that this
Introducing Network.framework: A modern alternative to Sockets WWDC 2018 Session 715
Swift. So here's what you do. You first import the network module. Then, you create an NWConnection object. So an NWConnection in either Swift or in C is the fundamental object for reading and writing data. In this case, we have a convenience that initializes your endpoint with a
Advances in SceneKit Rendering WWDC 2016 Session 609
Swift application that runs on macOS, iOS, and tvOS. It's fully built with Swift, about 700 lines of code. We placed light probes along the track to take into account the change of local light. And pay attention to the light that changes when we go in the caves
TextKit Best Practices WWDC 2018 Session 221
Swift. So we can set the text and the formatting properties dynamically at runtime. Now back in Interface Builder, we'll go ahead and add two more labels. Now everything fits pretty well, but we have one more thing we need to do here. So looking back at Apple News
Combine in Practice WWDC 2019 Session 721
Swift error protocol. Decoding custom types from data is such a common task that we actually provide an operator that takes care of this for you. Simply call decode. The Publisher's output [ Applause ] The Publisher's output and failure types will remain exactly the same. Now that we have
Adopting Metal, Part 1 WWDC 2016 Session 602
Swift struct that contains a position vector for the vertex, as well as a color for the vertex. You can just lay them out contiguously in memory. Now let's talk about how you actually create buffers. So the API for this is on the device that you've already
Developing a Great Profiling Experience WWDC 2019 Session 414
Swift, OSSignpost is just one core API with three different types: begin, end and event. And in C, their interface is exposed through three helpful macros. Now it's important to note that OSSignpost is built on OSLog which means that much of the tracing behavior and configurability is determined
Introducing iPad Apps for Mac WWDC 2019 Session 205
Swift. And note that they do work for Objective-C as well. Next, one of the most important aspects of bringing your app to the Mac is, of course, your code. Now, I previously showed you how Xcode will automatically exclude some unavailable frameworks from your build. But you may
OpenGL ES Shading and Advanced Rendering WWDC 2010 Session 417
Swift: Thank you, Luc. So as Luc mentioned, my name is Michael Swift, and I get to talk to you about lighting and shadowing for the remainder of this session. So let's start off with lighting. So what you see up here is our unlit world, just static and
Core iOS Application Architectural Patterns WWDC 2014 Session 224
Swift book. If you go look at the Swift book and then you tap on related books, you should see the HIG book in there. In there, there's a whole section where we spend time talking about something called an application definition statement. Many people who have unfocused applications
Building Apps with ResearchKit WWDC 2015 Session 213
Swift and we added both nullability and generics to it so you can use it with Swift 2. 0. So what are some of the important properties of the base class. The first and probably the most key property is the identifier and this is a string that you the
Creating Modern Cocoa Apps WWDC 2014 Session 227
Swift. So Lister is sample code that we're making available to you, and there's links at the end of this talk to download all four versions of it, so I really recommend that after this talk you check-out the sample and see some of what we think
Managing Apple Devices WWDC 2014 Session 702
Swift book so we're going to learn some new things. And Mark's now going to push a PDF for the device. So this is going to be an enterprise book. And this is will have the same open rules as any other managed assets on the device. So
What's New in Core Location WWDC 2015 Session 714
Swift. We have a fancy new pound available in Swift in response to this. If you are at runtime with a location manager that has knowledge of this property, you can set it to yes. Otherwise you can assume it's already set to yes and you don't have
CloudKit Tips and Tricks WWDC 2015 Session 715
Swift 2. I'm pleased to announce with iOS 9, the experience of using CloudKit from Swift is much better. Let me give you a couple of examples of what I'm talking about. Up until now, you had to use the old set object for key, object for key
Developing tvOS Apps Using TVMLKit: Part 2 WWDC 2016 Session 229
Swift application. Here we're looking at the Swift code for our TVML app's app delegate. We've implemented a stub here for the UIApplication delegate method to handle custom URL schemes. If we wanted to pass this URL down into JavaScript, all we have to do is ask
Safari Extensibility: Content Blocking and Shared Links WWDC 2015 Session 511
Swift right here. And this Swift is pretty straightforward. It just creates an NSExtension item, populates its user info, gives it an attributed title and some context text. Content text, excuse me. And it calls complete request returning items with an array of in this case one item. Let's
The Keys to a Better Text Input Experience WWDC 2017 Session 242
Swift Playgrounds is another good example. This is the Swift Playgrounds app. They have the standard QWERTY layout, but they provide a lot of additional functionality for frequently used symbols in the Swift programming language. And they also have a really nice accessory bar in the top here, for quickly
Now Playing and Remote Commands on tvOS WWDC 2017 Session 251
Swift dictionary with some keys that are provided by the framework and I'm simply providing my values as regular Swift types. There are two properties that I want to call out in particular though. The ElapsedPlaybackTime and the PlaybackDuration. Like I mentioned earlier, you should provide these keys so
What's New in Signing for Xcode and Xcode Server WWDC 2017 Session 403
Swift symbols option. What this is going to do, is it allows the App Store to scrip Swift symbols from the Swift standard libraries in my app. And that's going to greatly reduce the download size of my app for my customers. So, I'm going to leave that
SceneKit: What's New WWDC 2017 Session 604
Swift and Objective-C. During the demo, I insisted on the camera behavior because this is something that is really difficult to write. We are seeing many questions and related requests on developer forums about this, and so we are, we improved our camera API in this release to both
Modernizing Grand Central Dispatch Usage WWDC 2017 Session 706
Swift 3, then you can stop listening to me, because you're already in that form and that is the only world you're living in. However, if you have an existing code base, or you use older versions than of Swift, you need to do some extra steps. So
Core ML in depth WWDC 2017 Session 710
Swift class. Your workflow looks a bit like this. You start with a machine learning model, you drag and drop that model into Xcode, Xcode will automatically generate a Swift or an Objective C interface for you to program against that model. You write your application code, you build it
Accelerate and Sparse Solvers WWDC 2017 Session 711
Swift. And there's sort of three main use cases that are going to drive you to use simd. The first is if you're doing 2 by 2, 3 by 3, 4 by 4 vector and matrix arithmetic, the sort of thing that comes up all the time when
What's New in Cocoa Touch WWDC 2014 Session 202
Swift, congratulations. Here is your intro, and you can see just how easy it is to understand. And this will give you an idea of how easy it is to start adopting Swift immediately with all Cocoa and Cocoa Touch APIs. So with that, I'll talk about quickly another
System Trace in Depth WWDC 2016 Session 411
SWIFT world, it just simply doesn't work. So what we're going to do is deprecate that approach. But we have added in the new operating system these nice functions to do the exact same thing. And they're kdebug signpost. So they work great from C, Objective C
Introducing Core ML WWDC 2017 Session 703
Swift generated source has arrived in the application. What that means is we can actually use this generated code to load the model and predict against it. To show you, let's go to the ViewController. The first thing I want to do is define this flower model. And to
What's New in SpriteKit WWDC 2016 Session 610
Swift, so you can use it, all these great features, from our newest language. But the framework is only half of the SpriteKit picture. The other half is our Xcode integrated live editor which lets you preview your scenes directly from the editor and lay them out visually. It offers
Creating Independent Watch Apps WWDC 2019 Session 208
Swift, because of Swift 5 and ABI stability, now the Swift dylibs aren't included within your app at all and so the downloads are going to be even more smaller. And so that's how we install our applications. And let's talk about how our users are going
What’s New in AppKit for macOS WWDC 2019 Session 210
Swift native and supports all sorts of Swift language features that we really like. Again, this is something you will use in conjunction with AppKit. You will embed it in view hierarchies potentially all over the place. So, there are sessions about of these frameworks all throughout the week and
ResearchKit and CareKit Reimagined WWDC 2019 Session 217
Swift. Now, that means that CareKit, under the hood, can leverage some of the most powerful Swift language features, including the newly announced combined framework. Now let's dive into some details. The CareKit framework now comprises of two other frameworks under the hood CareKit UI and CareKit Store. CareKit
What’s New in ClassKit WWDC 2019 Session 247
Swift. The class is not yet for variables so instead, the teacher backs up by tapping the button to return. The teacher then taps the Select button in the upper right and selects the "What is Swift?" activity. This is how you add an activity to a handout. So now
Architecting Your App for Multiple Windows WWDC 2019 Session 258
Swift Combine framework released this year. But let's go over a lightweight Swift example that you can consider integrating into your apps. Here's the current method that gets called when I press the return button on sending a message. We create a message model object. My view controller
Introducing the Create ML App WWDC 2019 Session 430
Swift Playgrounds, Swift Scripts, or Swift Frepple [phonetic], Xcode Playground. But allows you to do so without writing a single line of code. We believe this brings machine learning to everyone. To summarize, in Create ML this year, you have new models, nine templates, and a whole new workflow. [ Applause
Building Apps with RealityKit WWDC 2019 Session 605
Swift API is simple yet powerful and lets you do a lot with only a few lines of code. All right, let's build an app. The app we're going to be building today is called "Memory Cards." And as the name cleverly implies, it's a card matching
Touch Bar Fundamentals WWDC 2017 Session 211
Swift lazy variable here for the Touch Bar property. And the first time the Touch Bar property is accessed, Swift is going to go ahead and run this block to instantiate our Touch Bar. All the code to create the item in bar and stuff we looked at in the
What's New in Metal, Part 1 WWDC 2016 Session 604
Swift. So like many Metal objects, the Metal resource heap has a corresponding descriptor object. So let's create a heap descriptor and set the size to the amount of memory to back the heap. With the heap descriptor we can ask the device to create us a heap object
Building Collaborative AR Experiences WWDC 2019 Session 610
Swift Codable protocol. That provides all the information RealityKit needs to serialize your structure and send it across the network. So, here's one way we use that in the game. We've discovered through playtesting in SwiftStrike, it was really important to make sure that both players were positioned
What's New in Internationalization WWDC 2015 Session 227
Swift, we promoted this to a first class function. It takes five parameters, three of which have default values. Interestingly, in Swift, we've made it such that the comment argument is non-optional. This is really emphasizing this is a critical argument. It provides context for your translators. A
Advances in Networking, Part 1 WWDC 2019 Session 712
Swift framework, Combine in URLSession, and how you can use Combine to streamline your networking code. Combine brings decorative asynchronous programming to Swift. To explain what it is, let me start with an example of building a responsive search field. So, search field publishes values whenever user types and sink
Advances in Networking, Part 2 WWDC 2019 Session 713
Swift. Last year, we introduced NWListener and NWConnection along with Network.framework. For example, you can have an NWListener advertising a Bonjour service and you can have an NWConnection connects to a Bonjour service endpoint. But you had to use one of the other Bonjour browsing APIs to discover the available
What's New in ResearchKit WWDC 2016 Session 234
Swift, it uses best practices not only for Swift and ResearchKit, but for iOS in general. It has a great architecture for a ResearchKit app. You can even start with that app and you'll have a great start on your own research. Also build and run the ORKCatalog app
Focus Interaction in tvOS 11 WWDC 2017 Session 224
Swift as well. And what status is telling me is that there is an item currently focused, it's one of those poster cells. But obviously, if we take a look it doesn't appear focused and so this points to some kind of potential issue with the visual appearance
Advanced Debugging and the Address Sanitizer WWDC 2015 Session 413
Swift, and converted some of the classes from Objective-C. It's very much a hybrid application. It also now uses size classes in its storyboard, and has fully adopted AutoLayout. So, since we changed and added all this new code this year, it's a pretty good bet that
What's New in Network Extension and VPN WWDC 2015 Session 717
Swift. Let's just call it packet tunnel. Great. Now I have a new target and I can start building my VPN provider. So let's jump ahead to the actual process of writing this. My protocol happens to be based around UDP. It uses UDP to talk to the
Subscription Offers Best Practices WWDC 2019 Session 305
Swift or whatever you use. So the first step is when your app is ready to display the offer to the customer, you'll want to send up this request to the server to generate a signature right then. In this case, the app already knows several pieces of that
Measuring Performance Using Logging WWDC 2018 Session 405
Swift and in C, but the coolest thing is we've integrated them with Instruments. So that means Instruments can take the data that signposts produce and give you a deep understanding of what it is your program is doing. So first a little history. We introduced OSLog a couple
Visual Debugging with Xcode WWDC 2016 Session 410
Swift 3 this year. On the right, I'm just using QuickTime Player to stream the device's screen back to the desktop so we can all see it. Our team was tasked with adding an in-game instruction manual to DemoBots, so we implemented a How To Play screen
Practical Approaches to Great App Performance WWDC 2018 Session 407
Swift code, as you work your way into the system libraries, you'll see this. You'll often see its counterpart functions, OPC, Load Strong, Load Weak, etc., Retain, you can remove all that content from the call tree by context clicking on it, and choosing Charge OPC to Callers
Web Inspector and Modern JavaScript WWDC 2014 Session 512
Swift, this will be right up your alley as far as JavaScript goes. It allows you to return like multiple objects in an array. In this case, I have an array of two numbers here. And traditionally, I would have to collect that in a result object. And I would
Introducing On Demand Resources WWDC 2015 Session 214
Swift, Objective-C, C++ as well as some base resources, and the levels in the game, for example, if this is a game. When you, the developer, are happy with this game or application, you upload it to the store, and when the user comes along and buys the app
Working with Wide Color WWDC 2016 Session 712
Swift 3, well, newly named in Swift 3, Draw. And we do the right thing for you here. When you call draw in your UI view subclasses, if you are on an iPad 9.7 inch, we will call your draw method in the correct, extended range sRGB color space with
What's New in Web Development in WebKit and Safari WWDC 2015 Session 501
Swift or C++ or other class-based syntax languages. So here I have a simple example of a polygon class written in the standard prototype syntax. But in ES6, a new syntax has been introduced, an object, a class-based syntax that looks very familiar to anyone who comes from
Core Location Best Practices WWDC 2016 Session 716
Swift will initialize the manager property the first time it's accessed. And unless we're very careful and ensure we always access it from a thread with a runloop, this could create a location manager on a thread without a runloop. We believe this pattern is error prone and
SwiftUI On All Devices WWDC 2019 Session 240
Swift filter. Since we've narrowed this data down, we also wanted users to have an option to see all the landmarks if they chose to. That was possible with adding this button. This button simply toggles the state between showing all and showing favorites based on the view that
Introducing the Contacts Framework for iOS and OS X WWDC 2015 Session 223
Swift [ Applause ] BRUCE STADNYK: We are as excited about this as you are. There are many design goals with this new Contacts Framework. I'm going to review a few of the key ones with you now. One, to address the majority of apps that are mostly get contacts and
What's New in Core Audio WWDC 2015 Session 507
Swift as well. It supports low latency real-time audio. Using AVAudioEngine, you will be able to perform a variety of audio tasks, like play and record audio, connect various audio processing blocks together to form your processing chain. You could capture audio at any point in this processing chain
Creating Complications with ClockKit WWDC 2015 Session 209
Swift in projects so you can take code written in an existing app and pull it over into your new watchOS 2 app and as long as you include the header for that in your Swift bridging header, it will just work, which is cool. So here is my soccer
Unified Logging and Activity Tracing WWDC 2016 Session 721
Swift is coming real soon. So to give you a little foretaste of what's coming. This is the current Console application that you see here and this is what the new Console looks like. Now one thing I want to point out to you here is take a close
What's New in Testing WWDC 2017 Session 409
Swift interface as part of the Swift 4 effort and we've also added a new block-based teardown API that lets you structure context specific teardown in your test methods without additional state or properties in your test classes. In UI testing we've introduced a new element type
Making Apps Adaptive, Part 2 WWDC 2016 Session 233
Swift struct here. It's going to have two pieces of information in it. The first one is the axis. I'm reusing this enum from stackView, so it's either vertical or horizontal. Then I'm going to define my own enum for whether I'm using the small
Introducing Natural Language Framework WWDC 2018 Session 713
Swift APIs. But that's not it. We now have support for custom NLP models. These are models that you can create using Create ML and deploy the model either using Code ML API or through Natural Language. Everything that we support in Natural Language, all of the machine learning
What’s New in MapKit and MapKit JS WWDC 2019 Session 236
Swift's JSON decoder, MKGeoJSONDecoder should feel pretty familiar to you. You simply create your decoder, you passage your data and it will return an array of either MKGeoJSONFeatures or MapKit's geometry such as MKPolygon or MKPolylines and so on. And this depends on how your GeoJSON is structured
Wallet and Apple Pay: Creating Great Customer Experiences WWDC 2018 Session 720
Swift application, where a user can purchase an event ticket for a party that I'm throwing this weekend for my team. My colleagues will be able to use the app in order to purchase a ticket, and make me a little money on the side. This app will demonstrate
Networking for the Modern Internet WWDC 2016 Session 714
Swift and the high layer Cocoa APIs, this happens for you automatically. But if you're writing UDP code today and you're using BSD sockets, the API you need to use is getaddrinfo. You pass in the address you want to connect to as a literal string. You pass
Measurements and Units WWDC 2016 Session 238
Swift. So, remember I had mentioned that we provided like 170 plus units for you out of the box. Chances are, you won't need to define your own custom units, but if you do, that's the only time you have to think about defining them, which is pretty
Prototyping: Fake It Till You Make It WWDC 2014 Session 223
Swift. We are super excited about Swift. But today, we're going to use Core Animation and Xcode with Objective-C. This is because that's what we've been using in our prototyping group so far. Quick word about writing code for our prototype: It's different from writing
Introducing RealityKit and Reality Composer WWDC 2019 Session 603
Swift framework designed to help you build your AR applications and easily exploit the power of ARKit. RealityKit is an AR first framework, which means that it's been completely designed from the ground up with an emphasis on AR application development. So the framework heavily emphasizes highly realistic physically
60 Second Prototyping WWDC 2017 Session 818
Swift, but the problem with that is that once you get committed to code, you're really deep into how your app is going to work, and you don't get much leeway to explore all the alternatives that you could. Or you might want to dive into Sketch, and
Building AR Experiences with Reality Composer WWDC 2019 Session 609
Swift. You can filter over it, you can iterate over it. Anything you can do with an array in Swift, you can do with this all actions property. To actually set the implementation of a notify action, you first need to access it through your Alert anchor. So, for example
LLDB: Beyond "po" WWDC 2019 Session 429
Swift and claim compilers to compile the code which gets executed in the context of your debugged program. Once the execution is complete, LLDB has to access the resulting value. From there you need to get the object description. To do this, LLDB wraps the previous result in another piece
iOS Accessibility WWDC 2015 Session 201
Swift and the rest of the p roject is in Objective-C, so accessibility works in both languages and it can coexist just like the rest of your code. So let's see. It's not accessible. If we look down, we can see that the reason it's not
Introducing Metal 2 WWDC 2017 Session 601
Swift, Objective-C. Let's say in the example of our renderer, if you have a ton of objects, but you probably have very few materials, so what you can do is reference the material from each object and save some memory or you can build your scene graph as
Introducing Watch Connectivity WWDC 2015 Session 713
Swift. Update Application Context can return an error. And if an error is returned, the Catch block will be invoked, and we strongly suggest that you handle your errors appropriately. So that's the sending side for application context. Now, let's take a look at the receiving side. On
What's New in iTunes Connect WWDC 2016 Session 305
Swift, check your receipt, and validation. It's a great session. The second one is more about what subscriptions actually are and how to set up all this new information in iTunes Connect. To change the price in different territories and preserve your price, so these are both on Tuesday
CloudKit JS and Web Services WWDC 2015 Session 710
Swift. I know many of you in the audience may already have a CloudKit application, but if you don't, let's look quickly about how to get started with a new CloudKit application. So the first thing to do is to create a container. You can do this either
Expanding the Sensory Experience with Core Haptics WWDC 2019 Session 223
Swift Codable Framework. AHAP makes it easy to share and edit haptic patterns because it is a format that all developers can agree on. Loading your haptic patterns from external AHAP files allows you to separate your content from your application code. Using the magic of a slide deck, we
Font Management and Text Scaling WWDC 2019 Session 227
Swift Playgrounds. I encourage you to consult the Human Interface Guidelines to see what are the best uses of these system fonts in your application UIs. You can get access to the system fonts by new APIs in UIFontDescriptor. We've defined four new constants. The first one, the default
Mysteries of Auto Layout, Part 2 WWDC 2015 Session 219
Swift as well. For example, it doesn't make sense to say that the leading edge of a view should be 100 because there's no context in which to interpret that 100. So you get an error that this method isn't available on a location anchor. Similarly, it
WatchKit In-Depth, Part 1 WWDC 2015 Session 207
Swift, and you have up to four different things you can add code for. So for the storyboard, this is the interface part of it, you can edit in IB just like you would an iOS application, and we provide a reasonably rich set of interface elements, labels, images, et
Best Practices for Building SpriteKit Games WWDC 2014 Session 608
Swift. The editor, as Norman showed earlier, let's you do visual feedback, visual editing, feedback is immediate. And you can also simulate the physics live. We also have, and have had for the long time, the ability for you to edit .plist files inside Xcode. And it's as
Mastering Core Data WWDC 2010 Session 118
Swift to wrap it up. So Core Data has been around on the desktop since 10.4 Tiger, on iPhone OS since 3.0 last year, and obviously on the iPad earlier this spring. The purpose of this session is to help you become more proficient with our technology. We are, this
What's New in SpriteKit WWDC 2014 Session 606
Swift and Objective-C. So, out of the box you are good to go and have a brand new scene created for you and ready for drag-and-drop and play, create your level, and making sure your game is running on day one. Not only can you use SpriteKit
What's New in NSCollectionView WWDC 2015 Session 225
Swift you can do that, in a DidSetObserver clause here, you will also want to do the same for watching when the items selected state, the Boolean, changes to yes or no, you want to take the highlightState, and the selected state, into account together, and decide visually how to
Getting Started with Instruments WWDC 2019 Session 411
Swift Defer Blocks to end the interval. The contents of the Defer Block will be executed at the end of the current scope. Let's build our application with these changes and Profiler in Instruments using the Profile action in the menu. Let's select the Time Profiler template once
Introducing the Photos Frameworks WWDC 2014 Session 511
Swift. No jokes, please. I'm a software engineer on the iOS Photos Frameworks Team. All right. So, we're really excited about introducing you to PhotoKit today. PhotoKit is comprised of two frameworks. The first framework is the Photos Framework, which gives you access to the photos and videos
Camera Capture: Manual Controls WWDC 2014 Session 508
Swift, because we're going to talk about cameras today, specifically camera developments on Yosemite and iOS 8. If you want to hear about that you've come to the right place. If you're new to Camera Capture in general on OS X or iOS we invite you to
Your App, Your Website, and Safari WWDC 2014 Session 506
Swift. Probably most of you in this audience. But it's also going to take the back-end website administrator. It's also going to take the back-end website administrator. Whoever's running user accounts, state, databases, all that sort of stuff. But finally, it's also going to
Harnessing Metadata in Audiovisual Media WWDC 2014 Session 505
Swift" talk [ Silence ] so get intimate with your neighbors here. [ Silence ] My name is Adam Sonnanstine. [ Silence ] I'm an engineer on the AVFoundation team [ Silence ] and today we are going to talk about, of course, metadata. [ Silence ] So what do I mean by metadata? [ Silence ] Well, for the purposes
Testing in Xcode WWDC 2019 Session 413
Swift packages that you create and write tests for in Xcode already define test targets. These test targets behave the same way in Xcode as any other unit test target. Finally, once you have a full test rewritten for each of your test targets you may wonder how well your
Testing in Xcode 6 WWDC 2014 Session 414
Swift are great languages for expressing the API, semantics of the API, they're self-documenting. We think, okay, our job is done. But in truth, they don't really account for all the possible permutations of inputs to those functions. So if you write tests, those tests help codify
Advanced Scrollviews and Touch Handling Techniques WWDC 2014 Session 235
swift version of hitTest:withEvent. This is our, of course, function syntax right there. So the first thing that hitTest:withEvent does is it checks to see whether or not the point being passed in that you're trying to hitTest is actually within the view or not. And it
Drawing Classification and One-Shot Object Detection in Turi Create WWDC 2019 Session 420
Swift code you need to write to integrate this model into your apps. PencilKit released their API this past week and they have a Peek at Canvas view, which has a Peek at Drawing, which is the drawing data model. You can extract the drawing out of the Canvas view
Optimizing App Launch WWDC 2019 Session 423
Swift run times. Now in general, your app shouldn't be doing any work here unless you have static initializer methods, which are possibly present in your code, or more likely, a surprise from the frameworks that you link. In general, we don't recommend static initialization. So, let's
Building Activity Classification Models in Create ML WWDC 2019 Session 426
Swift Script, or Command Line Tools. Like this. The one special step above Activity is that you have to specify the selectedSensors. And other than this, the rest of the workflow is standard and is the same with other models we have, where each training evaluation and model saving is
Introducing Sign In with Apple WWDC 2019 Session 706
Swift file. So we'll be working with the AuthenticationServices module, so we'll go ahead and import that here. So here I've defined a function called setupProviderLoginView, and it's initializing the ASAuthorizationAppleIDButton. It's then adding the handleAuthorizationAppleID ButtonPress function that I've stubbed out over here
System Extensions and DriverKit WWDC 2019 Session 702
Swift. [ Applause ] There is one exception to this. Driver Extensions, because of their close relationship with hardware, still have some restrictions. They must use the DriverKit frameworks and run in a tailored runtime which isolates them from the rest of the system. Driver Extensions must be written in C or
Advanced User Interfaces with Collection Views WWDC 2014 Session 232
Swift and all of the other stuff they've been doing, those guys-so, those were our requirements and that was kind of a lot, I mean on top of all the other stuff that the rest of the guys had to do. But I want to talk about the
Streaming Audio on watchOS 6 WWDC 2019 Session 716
Swift API. URLSession brings URLSessionStreamingTask to watchOS. It also brings along URLSessionWebSocketTask, which is new in both iOS 13 and in watchOS 6. Audio streaming presents special challenges to the way the data is retrieved from the network. To this end, URLSession has added the new AV streaming network service
Architecting for Performance on watchOS 3 WWDC 2016 Session 227
of the related sessions, unfortunately have already happened, but some of these I feel are important to not only WatchKit development but, we have concurrent program on GCD in Swift 3, so that's also important as well. So thank you and have a wonderful rest of the week. [ Applause ]
Creating Custom Instruments WWDC 2018 Session 410
Swift whereas the rows are like the instances. And so it's important that your schema names are singular, just like we have class names in Objective-C that are singular, like NSString instead of strings. So this will be more important when we get to the advanced section but
Designing with Animation WWDC 2015 Session 803
Swift, HTML, CSS. So these are great tools, but for those of you that don't know those tools or don't have access to them, there is Keynote. And that's what we are going to be using today because it's very quick to make animations, and it
Affiliate Tools for App Developers WWDC 2014 Session 301
Swift just yet. So here we have the implementation for the ViewController, and this is the key method right here. This is the method that I have defined on the ViewController class, which I've called simply Store Sheet for Product - takes three parameters, the itunesId, the affiliateToken and the
What's New in Core Data WWDC 2015 Session 220
Swift also introduced the block API with this really good talk What's New in Core Data on iOS in WWDC 2011. Last I wanted to talk about performance. Over time we start adding attributes to the models, the amount of data that's carried by your users gets larger
Apple Pay Within Apps WWDC 2015 Session 702
Swift or Objective-C. So you can really easily get up and running. It's because of that, we think it's the preferred option for most developers. And many, many payment platforms support Apple Pay already. Here are just a few. There are many more. We have a list
Adopting New Trackpad Features WWDC 2015 Session 217
Swift case with your event mask for when you call nextEventMatchingMask. Once you get the next event, the very first thing you do, you give that event to the Alignment Feedback filter, it's going to return right away, it just updates some internal state. You move excuse me, if
Optimizing Your App for Multitasking on iPad in iOS 9 WWDC 2015 Session 212
Swift. You should do that instead. Next, you should use the Allocations instrument to find and fix retained cycles and unbounded memory growth. Last, you should use the Time Profiler instrument to find and fix inefficient algorithms. I'm not going to talk about any of these problems today. These
What's New in HomeKit WWDC 2015 Session 210
Swift. [Applause] There you go. So over here we have our HomeKit Accessory Simulator. This simulates HomeKit accessories that are used by our developers to develop their HomeKit applications. And over here we have our HomeKit sample app that, you know, that you can use that accesses all our HomeKit
Managing 3D Assets with Model I/O WWDC 2015 Session 602
Swift. All right. Down to the nitty-gritty of data types. So MDLAsset is the thing that you get from a URL and it's the big overall container that you will often be working with. It's an index container, you know, for fast enumeration and stuff, it has
What's New in Photos APIs WWDC 2017 Session 505
Swift file. And we will call this animator. And there's my animator. I'm not going to walk you through all of this. But it's really, really simple. So, I'll just tell you a few things it's doing. When I'm initializing the animation I want
Image Editing with Depth WWDC 2017 Session 508
Swift code illustrating how we can apply our custom kernel to our original image once it's been constructed from the source code you see above. We pass in our image extent as well as a list of arguments. Here these are the original image, the normalized disparity map, and
Introducing ARKit: Augmented Reality for iOS WWDC 2017 Session 602
Swift as well as ObjectiveC as well as the content technology. So the content technology is what you're going to use to render your augmented reality scene. You have the option between SceneKit, SpriteKit as well as Metal. I'm going to use SceneKit for this example. So after
Engineering for Testability WWDC 2017 Session 414
Swift Standard Library. It begins by setting up an array of unsorted values. It calls the sorted method on that array. And then asserts that the returned array has the values in the expected order. Generalizing this, we can see that the test structure consists of first, setting up any
Privacy and Your Apps WWDC 2017 Session 702
Swift code, shown here. And as you can see, three consecutive calls using this API will return three random unrelated values. And for example, you could leverage the UIDs to generate short-lived identifiers. For example, you can associate a new UUID with each session in your app. Another example
Managing Documents In Your iOS Apps WWDC 2018 Session 216
Swift. For example, JPEG images and HEIF images are both kinds of images. And, .image conforms to our root type for user-created, or user-visible, documents, which is called public.content. Now, public.content has other children, like, for example, public.spreadsheet. You can find this list of types in the documentation
What's New in Core Bluetooth WWDC 2017 Session 712
Swift Playground's announcements this year, and really making things more interactive for children and people who are first learning to code. And we love seeing how easy it is for people to take things like sensors or buttons or switches and enable those through their apps and enable them
Localizing with Xcode 9 WWDC 2017 Session 401
swift standard libraries, and launch. And we can see our application is running in Russian. And not only are all the formatters and everything correct for all of our dates and our numbers, but we also have all of that Russian text that we just imported. So, to summarize, strings
iOS Configuration and APIs for Kiosk and Assessment Apps WWDC 2017 Session 716
Swift Playgrounds and not let them out until they can explain the difference between a struct and a class, for instance. Whatever scenario you want, you can lock a child to a particular application. There's another technology you'll often see in Kiosks, single app mode. This is useful
Deeper into GameplayKit with DemoBots WWDC 2015 Session 609
Swift and the max function to combine things. In this case we actually we want hunting the PlayerBot or hunting the TaskBots to be represented by the strongest grade available of the ones we have. Looking at these numbers, it is pretty obvious we'll hunt the PlayerBot. Now that
Security and Your Apps WWDC 2015 Session 706
Swift apps. So here we have a secret and we want to store it in the Keychain using SecItemAdd. To do that, we construct a dictionary which includes both the secret and some attributes describing how to find it in the future and what protection it should have. This pattern
What's New in MapKit WWDC 2015 Session 206
Swift compatibility, and we also added a WatchKit support to launch maps applications on your watch from your own application. So that's it, so that's all the improvements that we have done to existing features in MapKit. Let's move on to the next topic and personal favorite
Ingredients of Great Games WWDC 2014 Session 602
Swift and Playground. We have tools like the Metal or OpenGL Debuggers. We have SceneKit and SpriteKit editors. And, also this week, we have a mass amount of sessions about games. We have three on Metal, two on SceneKit, two on SpriteKit. We have labs on all of these technologies
Filtering Unwanted Messages with Identity Lookup WWDC 2017 Session 249
Swift 4 to decode the response. I'll paste some code I've already written to do this, but let's briefly walk through it. I first define a struct, which describes the JSON format that my server returns, then I create a JSON decoder instance and I use it
Building Apps with Dynamic Type WWDC 2017 Session 245
Swift check on why this is happening. This is happening because the table view's row height is set to a constant value, hundred. This makes that these cells do not have cell size at all. To fix this and make this cells have size we have to set the
Cocoa Development Tips WWDC 2017 Session 236
Swift, you can use typealias to do the same thing. And if you're coming to the Mac from iOS you may remember that NSWindowController is often a class that you want to use rather than NSViewController. So, check it out and think about it. And our last tip from
Testing Tips & Tricks WWDC 2018 Session 417
Swift and Foundation, but, by putting this together in the one method, I [inaudible] the maintainability and especially the testability of this code. Looking at the base of our testing pyramid, what we really want to be able to do here is write focus unit tests for each of these
What's New in LLVM WWDC 2014 Session 417
swiftly along with a wide variety of new improvements. To start with, back in September we introduced the Apple A7 processor which has been just absolutely magnificent in what it's allowed us to do, bringing truly desktop-class performance to your mobile devices and LLVM plays a key role
Natural Language Processing and your Apps WWDC 2017 Session 208
Swift 4, we've moved from generic strings to named types for tags, as well as tagSchemes. And finally, we've made significant improvements to the underlying implementation of NSLinguisticTagger. The API interface is still the same, but the entire implementation underneath has been [inaudible] from scratch. Just to make
Seamless Linking to Your App WWDC 2015 Session 509
Swift, to gather all of the components at once, and compare them in a single line, s/videos,/WWDC, something that may or may not be a year. I want to take a look at that value, which is a string right now, and turn it into an Int. So I
Optimizing Web Content in Your App WWDC 2016 Session 420
Swift, and Objective-C code, like Instruments. And we have Web Inspector for web developers, creating web pages and sites. But don't think that just because you choose to use web technologies in your app that you don't have any tools. In fact, I'm going to show
What's New in GameplayKit WWDC 2016 Session 608
Swift generics, so no casting is required when you query your custom nodes. So that's what's new in pathfinding this year. Let's go ahead and move on on what's new in agents. A little bit of a refresher on what agents are in GameplayKit. They are
What's New in SceneKit WWDC 2014 Session 609
strongly encourage you to download it and give it a try. It's almost as fun as Swift. [ Laughter & Applause ] For more information, please contact our Evangelist Allan and Filip. We have a brand new documentation for you in the developer website and also a dedicated forum. Thanks. [ Applause ]
Typography and Fonts WWDC 2016 Session 803
Swift Playgrounds. It's also in default in Xcode. Check out the new theme right there. Okay. So, that was small bit on San Francisco and the new SF Mono family. Next I want to talk to you about some type terminology. Get us all on the same page on
Introducing Drag and Drop WWDC 2017 Session 203
Swift struct. Next, I make a drag item. I go up to the drag-and-drop level. So I make a UIDragItem with that item provider. And finally, I just return that single item. The new API essential is on the drop side. Now, while you're dragging that object
Implementing UI Designs in Interface Builder WWDC 2015 Session 407
Swift, IB outlets are by default implicitly unwrapped optionals. If you have an outlet between a view controller and one of the views in its hierarchy you can safely unwrap that optional after viewed load. Sometimes you will have an additional property stored on your view controller that affects the
Apple Pay on the Web WWDC 2016 Session 703
Swift from the web. And so we are going to talk now about the new JavaScript API that's supporting this feature. And to do that, I'd like to ask Anders from the WebKit Team onto the stage. Anders. [ Applause ] Thanks Nick. I am really excited to be here
Advanced Testing and Continuous Integration WWDC 2016 Session 409
Swift. And your tests are compiled to bundles before they're run. Xcode, that's the IDE for authoring your tests, and you can also run individual test while you're developing. Xcode is also where you review reports from both local test runs and from Xcode Server. And talking
Cocoa Touch Best Practices WWDC 2015 Session 231
Swift, you can take advantage of the new pound availability syntax to put all your version-specific code into a block that the compiler can understand and reason about and let you know if you are doing anything wrong for a particular version. Whichever technique that you end up using
Building Document Based Apps WWDC 2015 Session 234
Swift. And that tells us that your application is able to handle this. Now there is also a bit of code you'll have to write, and that comes in the form of a new delegate method. How does that look? Well, let's say you already are opening documents
Build Better Apps with CloudKit Dashboard WWDC 2017 Session 226
Swift code so that you can build it into your application. Now, because fetching changes is such a common thing, we've built the ability to play and experiment with it right inside the Dashboard. So, let's go take a look. Alright. So, up on the screen, on the
A Guide to Turi Create WWDC 2018 Session 712
Swift. So if you didn't catch that session I do recommend you add it to your watch list. The goal of Turi Create is to help you add intelligent user experiences to your apps. For example, you might want to be able to take a picture of your breakfast
Performance on iOS and watchOS WWDC 2015 Session 230
Swift and it's type inference and it's wonderful, I will tell you this returns a double, and specifically, that double represents the current time in seconds. A second is actually a really long time. Your user is really going to feel it if something in your app takes
UI Testing in Xcode WWDC 2015 Session 406
Swift and Objective-C, so you can choose the native coding language that you're most comfortable with. XCTest was introduced in Xcode 5 as a unit testing framework. In Xcode 6, we expanded it to support performance testing. This allows you to catch regressions in your code, and ensure
Introducing Expanded Subscriptions in iTunes Connect WWDC 2016 Session 301
Swift 3 session that happened earlier today. This is a great session to learn how to integrate your app using StoreKit with all the things we talked about today, including how to check for seats and other things that you can do with in-app purchases. There's also the
CloudKit Best Practices WWDC 2016 Session 231
Swift 3, and so you have the ability to set this quality of service property. And the default is utility. And he'll talk about some of the things to keep in mind when setting this. And then finally, the way to actually finally take this operation and ask the
What's New in International User Interfaces WWDC 2016 Session 232
swiftly on over to watchOS. So watchOS 2.1 added Arabic and Hebrew as selectable system languages. And what this means for your apps is that watchKit is now right to left aware. So all watchKit elements now do the right thing when running in Arabic or Hebrew. We have an
What's New in HealthKit WWDC 2015 Session 203
Swift's new guard statement to return early if those are nil. Next, we instantiate a workout with the activity type that the user performs, the start and end date, and the total active energy burned and distance. I'm also creating an array with all of the samples that
Introducing Apple File System WWDC 2016 Session 701
Swift enhanced. So is use copy item or replace item they will adopt either the clone or the safe-save semantics that we just described for you automatically, you don't have to do anything so it just comes for free. It automatically figures out if the file system you
Engineering Privacy for Your Users WWDC 2016 Session 709
Swift, and allows you to create an identifier whenever you call it. So a quick example, if you call, whenever you call this API you get a new 128-bits random numbers. It's such a large number that this is going to be a globally unique random number whenever
Extending Your Apps with SiriKit WWDC 2016 Session 225
Swift file. Now again, this UnicornCore framework is a framework that we implemented for our application and we use it in all of our Unicorn apps, like Unicorn Pay or Unicorn Rides. It's a great way to share code for our application and for all of our extensions. We
Making Apps Adaptive, Part 1 WWDC 2016 Session 222
Swift and Objective-C because it means that if the definition that enumeration changes if a new case comes in I'm going to get build time warnings if I'm using an exhaustive switch statement. So I would just really encourage you guys to do that as well, that
Prototyping for AR WWDC 2018 Session 808
Swift or a framework like ARKit or maybe even a sophisticated application such as Unity. These are all valid ways to prototype, but they're not the only solution. Sometimes you can use low-tech physical prototyping techniques to work through your design problems before you write a single line
Keynote WWDC 2019 Session 101
Swift had to offer. Today we are announcing that new framework. It's called SwiftUI. (Applause) Now, SwiftUI is built in Swift for Swift and it provides a new paradigm. You specify UI with simple declarations. It makes code really easy to write and really easy to understand. It's
iMessage Apps and Stickers, Part 1 WWDC 2016 Session 204
Swift and click Next. And I'm going to call this NatureStickerBrowser ViewController. Great. So I'm going to go ahead and import UIKit. And then I'll go ahead and import Messages. Great. So now let's create our class. I'm going to go ahead and create our
Keynote WWDC 2016 Session 101
Swift. Swift is a powerful and intuitive programming language for iOS, Mac OS, watchOS, and tvOS. And writing Swift code is fun and interactive and apps written in it are lighting fast. Since we released Swift less than two years ago, we've seen an amazing response from the developer