Release Minimum Tumblr Client for iOS

 

Firefox 52 になって tombfix の Photo Capture が動かなくなってしまい

 

github.com

https://github.com/tombfix/core/issues/214

 

JavaScript のコードを追いかけるのが大変だったのと、

iOS 向けに Tumblr SDK が提供されていたので Swift で書いてみました。

 

github.com

 

Apple Store の審査も通り、配信もしています。

 

yomblr

yomblr

  • Yoshiyuki Kawashima
  • Utilities
  • Free

 

リリースするまでにあったことを折角なので、思い出しながら追記。 

 

Tumblr SDK を利用する際にいくつか問題があり、 Pull Request を送りながら、自作のアプリケショーンに組み込めるようになりました。結局、どれも採用されず、2017年9月時点では、元のコードが大幅に書き換えられているので、どれも意味をなしていないので取り下げました。

github.com

https://github.com/tumblr/TMTumblrSDK/pull/130

https://github.com/tumblr/TMTumblrSDK/pull/131

https://github.com/tumblr/TMTumblrSDK/pull/132

https://github.com/tumblr/TMTumblrSDK/pull/133

 

Tumblr API を使うにあたって Consumer key と secret key のバンドルが必要になります。ソースコードは公開を前提としていたので、 Swift で扱える環境変数的なライブラリを探していたら cocoapods-keys を見つけたのでこれを採用してみました。ちょっとうまくいかない部分があったので Pull Request を送ったら、 Collaborators に招待されました。何回かレビューをしてもらいマージされた時は嬉しかったです。

github.com

https://github.com/orta/cocoapods-keys/pull/171

https://github.com/orta/cocoapods-keys/pull/173

 

画像のトリミングには AKImageCropperView を利用しました。こちらはスムーズに導入できましたが、少し気になる箇所があったので Pull Request を送りました。

github.com

 

https://github.com/artemkrachulov/AKImageCropperView/pull/19

https://github.com/artemkrachulov/AKImageCropperView/pull/20

 

Tumblr SDK 5.0 、 iOS 11 、 Swift 4 への対応をやりたい