В свифте хотят заадоптить LSP. Это значит, что появится его полноценная поддержка в сторонних редакторах вроде VS Code.
https://forums.swift.org/t/new-lsp-language-service-supporting-swift-and-c-family-languages-for-any-editor-and-platform/17024
#swift
https://forums.swift.org/t/new-lsp-language-service-supporting-swift-and-c-family-languages-for-any-editor-and-platform/17024
#swift
Swift Forums
New LSP language service supporting Swift and C-family languages for any editor and platform
Hey all, At Apple we are making it a priority to support high-quality tooling for all Swift developers, including those working on non-Apple platforms. We want to collaborate with the open-source community and focus our efforts on building common infrastructure…
Про тестирование снепшотами с помощью новой свифтовой либы.
https://www.pointfree.co/blog/posts/23-snapshottesting-1-0-delightful-swift-snapshot-testing
#testing #swift
https://www.pointfree.co/blog/posts/23-snapshottesting-1-0-delightful-swift-snapshot-testing
#testing #swift
www.pointfree.co
SnapshotTesting 1.0: Delightful Swift snapshot testing
Today we are open sourcing SnapshotTesting 1.0: a modern, composable snapshot testing library built entirely in Swift!
Немного про скриптинг на свифте и использование ранлупа.
https://alejandromp.com/blog/2019/01/19/a-runloop-for-your-swift-script/
#swift
https://alejandromp.com/blog/2019/01/19/a-runloop-for-your-swift-script/
#swift
Alejandromp
A RunLoop for your Swift script - Alejandro Martinez
In the past few days the Swift community has been awoken again with the promise of a better way of using Swift for scripting, all thanks to…
Совсем все пропустил. Вышел Swift 5.
https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_beta_release_notes/swift_5_release_notes_for_xcode_10_2_beta
#swift
https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_beta_release_notes/swift_5_release_notes_for_xcode_10_2_beta
#swift
Разбираемся, как работает LLVM и Swift Intermediate Language.
https://medium.com/@Georguy/swift-intermediate-language-c5e36a8729db
#swift
https://medium.com/@Georguy/swift-intermediate-language-c5e36a8729db
#swift
Medium
Swift Intermediate Language
Как устроен компилятор LLVM. Как изменяется Swift-код во время компиляции. Как выглядит SIL и для чего он нужен.
Если вы пропустили, то с пятым свифтом подъехала долгожданная ABI stability. Пост раскрывает, что это означает для вас и чего ждать в будущем.
https://swift.org/blog/abi-stability-and-more
#swift
https://swift.org/blog/abi-stability-and-more
#swift
Swift.org
ABI Stability and More
It has been a longstanding goal to stabilize Swift’s ABI on macOS, iOS, watchOS, and tvOS. While a stable ABI is an important milestone for the maturity of any language, the ultimate benefit to the Swift ecosystem was to enable binary compatibility for apps…
Если вам по жизни не хватает свифта, то теперь можно гонять на нем еще и клиентсайд в браузере, скомпилировав его в wasm.
https://swiftwasm.org/
#web #swift
https://swiftwasm.org/
#web #swift
Джон Санделл рассказывает про протокол Sequence и его применение на практике.
https://www.swiftbysundell.com/posts/wrapping-sequences-in-swift
#swift #sdk
https://www.swiftbysundell.com/posts/wrapping-sequences-in-swift
#swift #sdk
Swift by Sundell
Wrapping sequences in Swift | Swift by Sundell
One major benefit of Swift’s protocol-oriented design is that it enables us to write generic code that’s compatible with a wide range of types. Let’s take a look at how we can wrap the Sequence protocol in generic containers, that’ll let us encapsulate various…
Нужно ли еще знать, что такое autoreleasepool в 2019 году? Кажется, да.
https://swiftrocks.com/autoreleasepool-in-2019-swift.html
#swift #memory
https://swiftrocks.com/autoreleasepool-in-2019-swift.html
#swift #memory
До WWDC еще несколько часов. Есть время погадать и помечтать о том, что должно поменяться в Swift, чтобы он стал нормальным.
https://www.swiftbysundell.com/posts/a-swift-developers-wwdc-dreams
#wwdc #swift
https://www.swiftbysundell.com/posts/a-swift-developers-wwdc-dreams
#wwdc #swift
Swift by Sundell
A Swift developer’s WWDC dreams - 2019 edition | Swift by Sundell
The start of WWDC 2019 is now just hours away and, like most developers working within the Apple ecosystem, I’m getting really excited. So I thought I’d dedicate my 120th weekly Swift article to something special — dreams.
Про dynamicMemberLookup, принцип его работы и варианты использования.
https://www.avanderlee.com/swift/dynamic-member-lookup/
#swift
https://www.avanderlee.com/swift/dynamic-member-lookup/
#swift
SwiftLee
Dynamic Member Lookup combined with key paths in Swift
Dynamic member lookup using @dynamicMemberLookup explained with code examples in Swift. Combine it with key paths and find usecase examples.
Про пять важных небольших изменений в Swift 5.1.
https://www.swiftbysundell.com/articles/5-small-but-significant-improvements-in-swift-5-1
#swift
https://www.swiftbysundell.com/articles/5-small-but-significant-improvements-in-swift-5-1
#swift
Swift by Sundell
5 small but significant improvements in Swift 5.1 | Swift by Sundell
Swift 5.1 has now been officially released, and despite being a minor release, it contains a substantial number of changes and improvements. This week, let’s take a look at five of those features, and what kind of situations they could be useful in.
Интересный материал про новый подход к реализации поиска ошибок в свифтовом коде компилятором.
https://swift.org/blog/new-diagnostic-arch-overview/
#swift
https://swift.org/blog/new-diagnostic-arch-overview/
#swift
Swift.org
New Diagnostic Architecture Overview
Diagnostics play a very important role in a programming language experience. It’s vital for developer productivity that the compiler can produce proper guidance in any situation, especially incomplete or invalid code.
А тем временем в свифт завезли поддержку комплексных и вещественных чисел.
https://swift.org/blog/numerics/
#swift
https://swift.org/blog/numerics/
#swift
Swift.org
Swift Numerics
I’m excited to announce a new open-source project for the Swift ecosystem, Swift Numerics!
Swift Numerics will provide the building blocks of numerical computing in Swift, as a set of fine-grained modules bundled together into a single Swift package.
My hope…
Swift Numerics will provide the building blocks of numerical computing in Swift, as a set of fine-grained modules bundled together into a single Swift package.
My hope…
#вакансия #ios #swift #Москва #офис
Москва, м. Нагатинская
Офис, полная занятость
ЗП: 150 - 220к net
Всем привет!
Меня зовут Марина, я из Туту.ру 🙂
🔥 Мы считаем, что будущее за мобильными устройствами. И продолжаем активно смещать фокус на разработку приложений и мобильной версии сайта.
🔥 Пользователи нас любят 🙂 Оценка приложения в AppStore 4.9, а количество установок перешагнуло 3 млн.
🔥 У нас масштабный многомодульный проект и 4 приложения. Если вам интересно решать сложные архитектурные задачи - welcome!
🔥 Наш стек: Swift, RxSwift, RxFeedBack, GithubActions.
Подробнее о вакансии здесь:
https://company.tutu.ru/ios_dev
Будем рады ответить на вопросы!
HR (Марина):
@mandarinka25
[email protected]
Руководитель мобильной команды (Станислав):
@DevAlloy
Москва, м. Нагатинская
Офис, полная занятость
ЗП: 150 - 220к net
Всем привет!
Меня зовут Марина, я из Туту.ру 🙂
🔥 Мы считаем, что будущее за мобильными устройствами. И продолжаем активно смещать фокус на разработку приложений и мобильной версии сайта.
🔥 Пользователи нас любят 🙂 Оценка приложения в AppStore 4.9, а количество установок перешагнуло 3 млн.
🔥 У нас масштабный многомодульный проект и 4 приложения. Если вам интересно решать сложные архитектурные задачи - welcome!
🔥 Наш стек: Swift, RxSwift, RxFeedBack, GithubActions.
Подробнее о вакансии здесь:
https://company.tutu.ru/ios_dev
Будем рады ответить на вопросы!
HR (Марина):
@mandarinka25
[email protected]
Руководитель мобильной команды (Станислав):
@DevAlloy
Раз мы начали день с языковых фичей, давайте ими же и закончим. Представьте, что у вас есть функция, возвращающая какое-то значение. Бывают случаи, когда вам надо просто ее вызвать без дальнейших операций с ее результатом. Если сделать это напрямую – получите варнинг. Чтобы обойти это, используйте аннотацию
https://twitter.com/BarekJaafar/status/1483577815253532676
@discardableResult.
https://twitter.com/BarekJaafar/status/1483577815253532676
Twitter
Jaafar Barek
💡 Swift Tip: If you have a function that has a return value, but in some scenarios you want to ignore it. You can use "@discardableResult" to avoid warnings or the usage of _ Example: #iOS #Swift #iosdev #programming #development
Вызов Swift из C++ кода
В последний Xcode завезли поддержку C++ -> Swift интеропа. По ссылке – инструкция, как его потестить.
В последний Xcode завезли поддержку C++ -> Swift интеропа. По ссылке – инструкция, как его потестить.
chaos.social
Uli Kusterer (@[email protected])
Wow! I hadn't realized calling Swift from C++ had landed in mainline Xcode already! And it's really easy to use:
1. In Xcode, set ‘SWIFT_OBJC_INTEROP_MODE = objcxx’
2. Make sure all Swift you want to call is public
3. Include the "MYSWIFTMODULENAME-Swift.h"…
1. In Xcode, set ‘SWIFT_OBJC_INTEROP_MODE = objcxx’
2. Make sure all Swift you want to call is public
3. Include the "MYSWIFTMODULENAME-Swift.h"…