LoginSignup
2
2

More than 5 years have passed since last update.

虫の画像を作るPod作った

Last updated at Posted at 2016-05-31

CocoaPods

Screenshot

使い方

コードから

虫画像作成
let bugImage = BugImageCreator.getChacheOrCreate(size: 50, lineWidth: 1, color: .blackColor())

Interface Builderから

スクリーンショット 2016-06-01 0.26.35.png

良い所

  • 虫画像をバンドルしない。
  • 一度作成した画像はキャッシュする。

デバッグ用のUIを可愛くしたい。
でもデバッグの時だけ必要な画像なのでバンドルしたくない。
かつデバッグ時の起動時間も遅くしたくない。
そう思ったので作りました。

http://qiita.com/malt/items/9ca22e0df67e764427d6
これで使ってます。

2
2
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
2
2