さらに今更ながら、ASCII.jpさんの「マルチコア時代の新機軸! Snow LeopardのGCD」に、わりと一般向けの説明から始まって、コードを使用したプログラマ向けの説明までしているページがあ…
さらに今更ながら、ASCII.jpさんの「マルチコア時代の新機軸! Snow LeopardのGCD」に、わりと一般向けの説明から始まって、コードを使用したプログラマ向けの説明までしているページがあ…
来年も作りたい!ふきのとう料理を満喫した 2024年春の記録 春は自炊が楽しい季節 1年の中で最も自炊が楽しい季節は春だと思う。スーパーの棚にやわらかな色合いの野菜が並ぶと自然とこころが弾む。 中でもときめくのは山菜だ。早いと2月下旬ごろから並び始めるそれは、タラの芽、ふきのとうと続き、桜の頃にはうるい、ウド、こ…
I did not find an equivalent question on stackoverflow, so I'll post my own question on that problem (please tell me if something is not understandable): Problem: I use a common indexed tableView with section headers from A-Z (like in the contacts.app) in a custom UITableViewController. I override tableView:viewForHeaderInSection: to provide my own section-header views. When the user scrolls the t
Currently, no, it doesn't look like it is possible to center a view in the superview using only VFL. It is, however, not that difficult to do it using a single VFL string and a single extra constraint (per axis): VFL: "|-(>=20)-[view]-(>=20)-|" [NSLayoutConstraint constraintWithItem:view attribute:NSLayoutAttributeCenterX relatedBy:NSLayoutRelationEqual toItem:view.superview attribute:NSLayoutAttr
iOS7・・・ iOS7・・・ ウーン・・・ iOS7のUITableViewCellのサブクラス、つまりカスタムセルがなぜか描画されませんでした。 一応解決して、原因もなんとなくわかったのでメモ。 ↓なぜか描画されない。 描画してた仕組みはこんな感じで、- (void)drawRect:(CGRect)rectに書いていました。 - (void)drawRect:(CGRect)rect { [super drawRect:rect] ; // draw draw ... } リファレンスを見るとこんなのが。 Whether you use a predefined or custom cell, you can change the cell’s background using the backgroundView property or by changing the inheri
これが一番簡単っぽい。 self.tableView.tableFooterView = [[[UIView alloc] init] autorelease]; 例えば UITableView を使っていて、 self.tableView.separatorStyle = UITableViewCellSeparatorStyleSingleLine; のように境界線をONにしているとき、 画面の高さに対して、 UITableView の高さが足りてない(セルの要素数が足りてない)とき、空のセルが余白を埋めるかのように表示されてしまう。境界線なしのときは気にならないんだけど、境界線があると気になる。というか表示したくない。 検索してみるとStack Overflowがよく引っかかるんだけど、どうも解決策がまちまちで、例えば、 viewDidLoad 内で、 self.tableView.
The UITableView below has custom UITableViewCells and I can adjust the separators fine using this line in the custom UITableViewCell: self.separatorInset = UIEdgeInsetsMake(0, kDefaultSeparatorLeftInset, 0, 0); However the cell at the bottom of the section has a default separator that overrides the custom UIEdgeInsets that I set. I'd like all the separators to be the same width, is there any way o
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く