You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
clrというコマンドラインツールをSwiftで書いた。上のスクリーンキャストにあるようにXcodeで使うカラーパレットをターミナルから作成できる。 近年ではStoryboard(かつてはXib)がどんどん進化しているので、見た目に関する設定はコードじゃなくてStoryboardに任せたいなという気持ちがある。特に色については、コードでやろうと思うとUIColorのextensionをひとつひとつ書いていく感じになると思うけど、カラーパレットを自作する手もあるなということに最近気づいた。カラーパレットを使うと2、3回クリックするだけで色を指定できるから簡単だと思う。 技術的な解説をすると、自作したカラーパレットは実は$HOME/Library/Colors/以下に*.clrという拡張子で保存されていて、このファイルを共有すれば他の開発者とカラーパレットを共有できる。ただ、これをXcodeでポ
I have an UIImageView with a brown image that will not always reach the top part. The UIImage view is inside a white UIView. So, because the top part of the image is a linear brown color, I said I will make the UIView underneath it the same brown color, and the user will not see where the image ends. So far, so good. My problem is, when I pick the color in the top part of the image, the color pick
March 2011 (1) December 2010 (2) September 2010 (2) June 2010 (1) March 2010 (1) January 2010 (3) December 2009 (1) November 2009 (2) October 2009 (4) September 2009 (1) August 2009 (4) July 2009 (4) June 2009 (4) May 2009 (1) April 2009 (3) March 2009 (1) February 2009 (11) January 2009 (4) December 2008 (2) November 2008 (5) August 2008 (3) July 2008 (6) June 2008 (1) May 2008 (2) April 2008 (1)
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く