すべてのコードはObjective-Cの多くの経験と権威と専門知識があることを表しています。
All that code represents much experience and authority and expertise with Objective-C.
ここでは、Objective-Cラッパーの基本概念、インストール、および一般的な使い方について説明します。
This section covers basic concepts, installation, and common uses of the Objective-C wrapper.
Objective-Cから引き続き使用できるものを書く必要があります。
You are forced to write something that you can still use from Objective-C.
オプション1とは異なり、Objective-Cラッパーフレームワークをプロジェクトに追加する必要があります。
Unlike with option 1, you need to add the additional Objective-C wrapper framework to your project.
Objective-C を長く書いてきた方なら、このあたりで止めてもらいたいと思ってるかもしれません。
Now, if you have been writing in Objective-C for a long time, you probably want to stop me right there.
とはいえ、ライブラリのほとんどがObjective-Cで書かれているものであれば、さほど問題にはならないかと思います。
This shouldn't be a big problem if most of your dependencies are written in Objective-C.
SwiftはObjective-Cとの相互運用において優れた機能を提供していますが、現在のコードベースに適用することが必ずしも良いとは言えません。
Swift provides rich features for Objective-C interoperability, but applying them to your current codebase is not always straightforward.
また、できるのであれば、プロトコルや final でないクラスメソッドやプロパティや Objective-C と互換性のあるものを通してのアクセスを避けるようにしてください。
And if you can, avoid access via protocols, or to non-final class methods or properties, as well as Objective-C compatible ones.
このアーキテクチャが素敵な点はObjective-Cの動的機能を活用してファイルでチェックさえすれば特定の機能を活性化したり、無効化できるという点です。
What was great about the architecture is they could leverage Objective-C dynamic nature to be able to enable and disable features just by checking the target in the files.
我々が使うフレームワークのほとんどはまだObjective-Cで書かれているため、メソッドを入れ替え(swizzle)たり、元の実装に修正を加えたりすることができます。
Since most frameworks we use are still in Objective-C, we can swizzle methods or add to their original implementation to fix issues.
Swiftと完全な互換性がないObjective-Cの仕様の制限により、一部の機能はObjective-Cラッパーで利用できません。
Some features are not available with the Objective-C wrapper due to the limitations from the Objective-C specification that is not fully compatible with Swift.
Herokuでは、モバイル開発に具体的なフォーカスがあるわけではないが、Objective-Cについて尋ねると、彼は実に興味深いオプションだと答えた。
There is no concrete focus on mobile development at Heroku but when being asked about Objective-C as deployment language, he answered that that would indeed be an interesting option.
Swiftのコードは同じプロジェクトの中で既存のObjective-Cファイルと共存し、Objective-CのAPIもすべて利用できるため、簡単に取り入れることができます。
Swift code co-exists along side your existing Objective-C files in the same project, with full access to your Objective-C API, making it easy to adopt.