サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
Switch 2
noahgilmore.com
UIButton: Padding Between Image and TextMay 5, 2019 Update (11/29/2020): I've updated this post to note that more subtlety is required to account for right-to-left languages. Pop quiz: in a UIButton, how do you set a padding of 10pt between the image and the title? I had to do this at work recently, and I was surprised at how hard it was to reason about. There are several posts talking about this
Backwards compatibility for iOS 13 system colorsJune 8, 2019 Update (6/13/2019): The original version of this post featured the wrong colors in the ColorCompatibility enum at the end of the post. This has now been fixed. Update (9/21/2019): The original version of this post included systemBrown, a color which was removed in the Xcode 11 GM. It also contained unnecessary availability checks in the
このページを最初にブックマークしてみませんか?
『noahgilmore.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く