配列もknockoutで扱えるのか。
もちろんです。
とても簡単に扱うことができます。
<table>
<thead>カスタムセルを作ってごにゃごにゃやるのかと思ったら、すごく簡単だった。
要は編集モード用のAccessoryTypeがあるのです。
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {とても簡単です。
self.tabBarController.selectedIndex = 2; // 左から3番目のタブに切り替え代入と同時に切り替わります。
| set nocompatible | |
| set fileformats=unix,dos,mac | |
| set backspace=indent,eol,start | |
| set nobackup | |
| set writebackup | |
| set history=100 | |
| set title |
| [user] | |
| name = Name NAME | |
| email = mail@example.com | |
| [alias] | |
| ap = add -p | |
| br = branch | |
| bra = branch -a | |
| ci = commit | |
| co = checkout | |
| df = diff |