LoginSignup
12

More than 5 years have passed since last update.

BTKInjectorがSwiftに対応!

Posted at

BTKInjectorとは

Objective Cで書かれた超軽量DIフレームワークです。Cocoa Podsからインストールできます。
今回のリリース(2.1.1)でSwiftからも問題なく使用できるようになりました。

BTKInjector on Github
ドキュメント

Swift対応作業

@mono0926 さんの力を借りて、Swift対応作業を行いました。ありがとう!!
https://github.com/tomohisaota/BTKInjector/issues/3

Swiftランタイムでは、型チェックの一環としてconformsToProtocolが呼ばれることがあり、BTKInjectorの遅延ロードが適切に動作しませんでした。2.1.0でその問題の解消と、ユニットテストの追加を行っています。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12