ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Foundation in Swift 3: Understanding the Swift 3 Update - raywenderlich.com

Автор: Kodeco

Загружено: 2017-02-28

Просмотров: 435

Описание: In this video, you'll learn how to use Foundation types in Swift 3 and the reasoning behind the changes.

----
About www.raywenderlich.com:

raywenderlich.com is a website focused on developing high quality programming tutorials. Our goal is to take the coolest and most challenging topics and make them easy for everyone to learn – so we can all make amazing apps.

We are also focused on developing a strong community. Our goal is to help each other reach our dreams through friendship and cooperation. As you can see below, a bunch of us have joined forces to make this happen: authors, editors, subject matter experts, app reviewers, and most importantly our amazing readers!

----

About Swift (from Wikipedia)

Swift is a general-purpose, multi-paradigm, compiled programming language developed by Apple Inc. for iOS, macOS, watchOS, tvOS, and Linux. Swift is designed to work with Apple's Cocoa and Cocoa Touch frameworks and the large body of extant Objective-C (ObjC) code written for Apple products. Swift is intended to be more resilient to erroneous code ("safer") than Objective-C, and more concise. It is built with the LLVM compiler framework included in Xcode 6 and later and, on platforms other than Linux, uses the Objective-C runtime library, which allows C, Objective-C, C++ and Swift code to run within one program.

Swift supports the core concepts that made Objective-C flexible, notably dynamic dispatch, widespread late binding, extensible programming and similar features. These features also have well-known performance and safety trade-offs, which Swift was designed to address. For safety, Swift introduced a system that helps address common programming errors like null pointers, and introduced syntactic sugar to avoid the pyramid of doom that can result. For performance issues, Apple has invested considerable effort in aggressive optimization that can flatten out method calls and accessors to eliminate this overhead. More fundamentally, Swift has added the concept of protocol extensibility, an extensibility system that can be applied to types, structs and classes. Apple promotes this as a real change in programming paradigms they term "protocol-oriented programming".

Swift was introduced at Apple's 2014 Worldwide Developers Conference (WWDC). It underwent an upgrade to version 1.2 during 2014 and a more major upgrade to Swift 2 at WWDC 2015. Initially, a proprietary language, version 2.2 was made open-source software and made available under Apache License 2.0 on December 3, 2015, for Apple's platforms and Linux. IBM announced its Swift Sandbox website, which allows developers to write Swift code in one pane and display output in another.

A second free implementation of Swift that targets Cocoa, Microsoft's Common Language Infrastructure (.NET), and the Java and Android platform exists as part of the Elements Compiler from RemObjects Software.[20] Since the language is open-source, there are prospects of it being ported to the web.[21] Some web frameworks have already been developed, such as IBM's Kitura, Perfect[22][23] and Vapor. An official "Server APIs" work group has also been started by Apple,[24] with members of the Swift developer community playing a central role.

About Swift 3 (from https://www.raywenderlich.com/135655/...)

Community members submitted over 100 proposals for changes to Swift since it went open source. A large number of them (70 so far) have been accepted after discussion and modification. Those that have been rejected have sparked some intense discussion as well. In the end however, the core team makes the final decision on all proposals.

The collaboration between the core team and the wider community has been impressive. In fact, Swift has garnered 30 thousand stars on Github. Several new proposals are submitted every week, week-after-week. Even Apple engineers pen proposals on open Github repository when they want to make changes.

In the sections below, you’ll see linked tags such as [SE-0001]. These are Swift Evolution proposal numbers. The links to each proposal have been included so you can discover the full details of each particular change. You can also check the status of all Swift Evolution proposals to see which ones have been implemented. The code examples below build on Paul Hudson’s excellent overview of the common changes you’ll notice in Swift 3.

Swift 3 fixes bugs in the compiler and IDE features. It also improves the precision of error and warning messages. And as you might expect, with each release, Swift is getting faster in how it runs and compiles:

By improving string hashing there was a 3x speedup in dictionaries of strings

By moving objects from the heap to the stack there was a 24x
speedup (in some cases)

The compiler now caches multiple files at once (when doing whole module optimization)

Code size optimization has reduced the compiled size of Swift code. Apple’s demo Demobots reduced the compiled size to 77% of the original

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Foundation in Swift 3:  Understanding the Swift 3 Update - raywenderlich.com

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Swift 3 API Guidelines: Understanding the Swift 3 Update - raywenderlich.com

Swift 3 API Guidelines: Understanding the Swift 3 Update - raywenderlich.com

Как запоминать ВСЕ с помощью Obsidian.md и Zettelkasten

Как запоминать ВСЕ с помощью Obsidian.md и Zettelkasten

⚡️ Самая масштабная атака РФ по Украине || Путина просят о помиловании

⚡️ Самая масштабная атака РФ по Украине || Путина просят о помиловании

CI/CD — Простым языком на понятном примере

CI/CD — Простым языком на понятном примере

Конфликт Азербайджана и России. Силовики убили двух азербайджанцев во время рейда на мигрантов

Конфликт Азербайджана и России. Силовики убили двух азербайджанцев во время рейда на мигрантов

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

Путин на скамье подсудимых / Соловьёв захватывает страны Балтии

Путин на скамье подсудимых / Соловьёв захватывает страны Балтии

Новейшая ракета РФ уничтожена / Жаркая ночь в Крыму

Новейшая ракета РФ уничтожена / Жаркая ночь в Крыму

Я ПРОВЁЛ 3 ДНЯ с ПОПУЛЯРНЫМ FPV ДРОНОМ и ВОТ ЧТО СЛУЧИЛОСЬ!

Я ПРОВЁЛ 3 ДНЯ с ПОПУЛЯРНЫМ FPV ДРОНОМ и ВОТ ЧТО СЛУЧИЛОСЬ!

Как устроена База Данных? Кластеры, индексы, схемы, ограничения

Как устроена База Данных? Кластеры, индексы, схемы, ограничения

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]