150 Results for 'Swift'

Swift Interoperability In Depth WWDC 2014 Session 407
Swift Compiler Team, and we're here to talk about Swift Interoperabiity. We're going to talk about a couple of different things here. So, of course, Swift is a new language for Cocoa and Cocoa Touch development. Now, Cocoa's not written in Swift. It's written in Objective
What's New in Swift WWDC 2016 Session 402
Swift. Let's start out by talking about the goals for the Swift 3 release. Swift was released as an open source project just six months ago, and a big part of doing that was not just to shove out a bunch of sources to GitHub, but to create a
Swift API Design Guidelines WWDC 2016 Session 403
Swift. And that's every bit as true whether you're writing your API for a million other developers or just for yourself inside your own app. Because good design really does matter. So, we're going to be talking about the Swift API Design Guidelines today. These are new
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
Going Server-side with Swift Open Source WWDC 2016 Session 415
Swift On Servers. We'll go over why Server-Side Swift is compelling, how all the pieces fit together, what you get out of box, what you don't, some real-world examples of Swift running on the server, and, most importantly, what you can do to contribute to making
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. This year the Foundation team has put a lot of effort into improving the way that you use the Cocoa and Cocoa Touch APIs in Swift. We started by working on the Swift API Design Guidelines. After that, we looked at how all of the Objective-C code that
What's New in Swift WWDC 2015 Session 106
Swift. So a lot of what this is is I want to thank you for all the feedback you have. You guys are continuing to shape Swift through all the great feedback the producers have that use it. Second up is safety. Safety is a core value of Swift. We
Swift and Objective-C Interoperability WWDC 2015 Session 401
Swift and Objective-C over the last year, especially in the areas of interoperability. And this is important because all Objective-C APIs are available in Swift. And in Xcode 7 we made it even easier to see how this mapping works. Go to any Objective-C header and choose
Improving Your Existing Apps with Swift WWDC 2015 Session 403
Swift. Can I get a show of hands, how many of you are actually using Swift in your code right now? Okay. Excellent. Then you are all at the right session, whether you've done it or not. Hopefully by the end of it you will all be using Swift
Advanced Swift WWDC 2014 Session 404
Swift project and a horrible nerd. And today I want to talk to you about how, you know, you can take advantage of really, all of the language tools that we've built into Swift to make your code so much more expressive, and powerful, and safe. We're going
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
Intermediate Swift WWDC 2014 Session 403
Swift. My name is Brian Lanier. I'm an engineer in Developer Publications. Later I'll be joined on stage by my colleague, Joe Groff, who is an engineer on the Swift compiler team. We're both really excited to be here today to talk with you more in depth
Advanced Swift Debugging in LLDB WWDC 2014 Session 410
Swift inside your application and you can use the debugger to help you step through your code, look at your data and figure out how your fancy new Swift features are interacting with your existing code base. And of course, if it ever happened that there were bugs in your
Platforms State of the Union WWDC 2016 Session 102
swiftly becoming friends with them. And on that note, here is Chris Lattner to talk about Swift. [ Applause ] All right. Thanks, Robby. Let's dive in to what's new with Swift? Now, it's easy to forget that we launched Swift and released it less than two years ago
Optimizing Swift Performance WWDC 2015 Session 409
Swift Performance. My name is Nadav, and together with my colleagues, Michael and Joe, I am going to show you how to optimize your Swift programs. Now, we, the engineers on the Compiler Team, are passionate about making code run fast. We believe that you can build amazing things when
Platforms State of the Union WWDC 2014 Session 102
Swift. Swift is the brand-new developer, brand-new program language designed by Apple specifically for Cocoa and Cocoa Touch. It works beautifully with our system APIs, and it's designed with the common programming patterns on our platforms in mind. Now, there are a lot of program languages out
Introduction to LLDB and the Swift REPL WWDC 2014 Session 409
Swift, maybe some people have tried a Playground. It's gone a little faster than that. [ Laughter ] I am really impressed. You guys, I look on the labs, I look on Twitter. You guys have apps started already, entire apps running in Swift. I saw somebody with a raytracer. It
What's New in Xcode 6 WWDC 2014 Session 401
Swift. And Swift is exciting enough on its own, but we didn't stop there. Playgrounds provide a live and responsive environment for you to develop code. Whether you're exploring new technologies, like Sprite Kit physics courses, or just playing around with Swift itself, you're going to love
What's New in LLDB WWDC 2015 Session 402
Swift debugger. It is a step forward, obviously, in being able to write and develop the Swift code that you have come to know and love. But more importantly it wasn't our last step. We continued to improve that debugger and we hope your continued feedback will help us
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
Platforms State of the Union WWDC 2015 Session 102
Swift. [ Cheers and applause ] CHRIS LATTNER: All right. Thank you. Thank you, Toby. The response to Swift has been amazing, and it's really actually hard to believe that it was unveiled just one year ago. When we talked about Swift back then, we talked about some of its major
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
What's New in Cocoa WWDC 2016 Session 203
Swift API guidelines and secondly, the general API refinements we've been doing. So let's get started. Now as you heard probably yesterday or if not, this morning, we have new API design guidelines in Swift. And these guidelines still embrace Cocoa conventions and practices and I'll just
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
Debugging Tips and Tricks WWDC 2016 Session 417
Swift REPL is in fact LLDB. When you bring up the Swift REPL and start interacting with it, you're interacting inside a debugging environment already so that the power of the debugger is there any time you need it. In fact every command that we tell you about here
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
Swift Playgrounds WWDC 2014 Session 408
Swift code. The code that would be run and the result are, and generate results to display automatically every time you edit your Playground file. Swift Playgrounds also can contain a folder of embedded resources which are made available to your code or your Playground can reference resources elsewhere on
Protocol-Oriented Programming in Swift WWDC 2015 Session 408
Swift. Why not? It's because Swift collections are all value types, so the one you're iterating and the one you're modifying are distinct. Okay, number two on Crusty's list, class inheritance is too intrusive. First of all, it's monolithic. You get one and only one
Building Better Apps with Value Types in Swift WWDC 2015 Session 414
Swift. First, we are going to start off talking about reference semantics, and then we will delve through immutability as a solution to some of the problems that reference semantics pose. Dive into value semantics and value types, how it works, especially how it works in Swift, and then talk
What's New in Cocoa WWDC 2015 Session 202
Swift. The changes also improve our Objective-C APIs as well. As you know, Swift provides features to express APIs more precisely. For instance, you can indicate this is an array. The Subviews property is an array of NSView, not just an array. You can indicate that a method such
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
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
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
What's New in Core Data WWDC 2014 Session 225
Swift. You have questions, and I'm here to give you answers. This is a fragment from an email that came through one of my mailboxes sometime over the last several months. It basically says well, the rest of the message basically said, Swift is intended as a language for
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
Keynote WWDC 2015 Session 101
Swift. And I get a number of hits, everything from Taylor Swift, to what I was looking for, Apple's new programming language. So it's a beautiful feed, and what's really cool about this is there are powerful machine learning algorithms that analyze the contents of the articles
Using and Extending the Xcode Source Editor WWDC 2016 Session 414
Swift specific entity into the source which is known to the Swift compiler, and it dereferences out to a call to UIImage image mamed. So you can see all of your images now in place, instead of just the name string. And we have this for colors too. So I
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
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
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
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
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
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
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
Authoring Rich Playgrounds WWDC 2015 Session 405
Swift compiler's pretty great, it isn't able to actually create structs out of thin air yet. So what we're using instead is a feature which we added in Xcode 6.3 called Auxiliary Sources. The auxiliary sources are additional Swift source files, which are embedded inside of your
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 LLVM WWDC 2016 Session 405
Swift Playgrounds app, has joined it with similar internal uses of LLVM. LLVM is also an integral part of the inner workings of Metal and our other graphics APIs. LVVM is open source. Apple has a long history with open source compilers and languages. The Swift language was born out
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
Continuous Integration and Code Coverage in Xcode WWDC 2015 Session 410
Swift trigger. In this case, just like the bash trigger, I go ahead and set it up using the hash bang for user bin swift. I haven't finished writing it, so bear with me while I do that. I am going to get import foundation. This is where I
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
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
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
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
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
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
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
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
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
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 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
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 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
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
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
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
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
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
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 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
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
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 ]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 ]
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
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
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
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
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
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
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 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
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
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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
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