約 2,933,621 件
https://w.atwiki.jp/objcmemo/pages/15.html
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 再描画(アニメーション) _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ [_tableView beginUpdates]; [_tableView deleteSections [NSIndexSet indexSetWithIndex 0] withRowAnimation UITableViewRowAnimationTop]; [_tableView insertSections [NSIndexSet indexSetWithIndex 0] withRowAnimation UITableViewRowAnimationTop]; [_tableView endUpdates]; _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 選択行を選択状態にする _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ NSIndexPath *indexPath = self.indexPathForSelectedRow; if (indexPath) { [self selectRowAtIndexPath indexPath animated YES scrollPosition UITableViewScrollPositionMiddle]; } _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ セクション設定 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ // 高さ(固定) _tableView.sectionHeaderHeight = 40; _tableView.rowHeight = 100; // 高さ(動的) -(CGFloat) tableView (UITableView *)tableView heightForHeaderInSection (NSInteger)section { switch (section) { case 0 return 40; case 1 return 60; default return 20; } } // タイトル設定 -(NSString*)tableView (UITableView *)tableView titleForHeaderInSection (NSInteger) section { switch(section) { case 0 return @"セクション0"; case 1 return @"セクション1"; default return @"セクション-"; } } // 画像設定(画像以外も可能) -(UIView*)tableView (UITableView *)tableView viewForHeaderInSection (NSInteger)section { UIImageView* view = [[[UIImageView alloc] initWithFrame CGRectMake(0, 0, 320, 32)] autorelease]; switch(section) { case 0 view.image = [UIImage imageNamed @"header01.png"]; break; case 1 view.image = [UIImage imageNamed @"header02.png"]; break; default return nil; } return view; } _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ イベント座標から行数を求める _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ - (NSIndexPath *)indexPathForControlEvent (UIEvent *)event { UITouch *touch = [[event allTouches] anyObject]; CGPoint p = [touch locationInView _tableView]; NSIndexPath *indexPath = [_tableView indexPathForRowAtPoint p]; return indexPath; } // 参考 - (UITableViewCell *)tableView (UITableView *)tableView cellForRowAtIndexPath (NSIndexPath *)indexPath { ・・・ label.userInteractionEnabled = YES; [label addGestureRecognizer [[UITapGestureRecognizer alloc] initWithTarget self action @selector(tapAction )]]; ・・・ } - (void)tapAction (UITapGestureRecognizer *)sender { CGPoint p = [sender locationInView _tableView]; NSIndexPath *indexPath = [_tableView indexPathForRowAtPoint p]; ・・・ } _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ アニメーションにより再描画する _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ [_tableView beginUpdates]; [_tableView deleteSections [NSIndexSet indexSetWithIndex 0] withRowAnimation UITableViewRowAnimationTop]; [_tableView insertSections [NSIndexSet indexSetWithIndex 0] withRowAnimation UITableViewRowAnimationTop]; [_tableView endUpdates]; _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 境界線設定 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _tableView.separatorColor = [UIColor redColor]; _tableView.separatorStyle = UITableViewCellSeparatorStyleSingleLine; _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 背景変更 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ // 背景色変更(緑) [_tableView setBackgroundColor [UIColor greenColor]]; // 背景画像変更 UIColor* col = [[UIColor alloc] initWithPatternImage [UIImage imageNamed @"sample_back.jpg"]]; [self.myTableView setBackgroundColor col]; _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 特定のセルを更新する _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ // その1 NSArray *indexPaths = [NSArray arrayWithObject indexPath]; [tableView reloadRowsAtIndexPaths indexPaths withRowAnimation UITableViewRowAnimationNone]; // その2(未検証) UITableViewCell *cell = [tableView cellForRowAtIndexPath indexPath]; [cell setNeedsLayout]; // 可視セルのみを更新する - (void)updateVisibleCells { for (UITableViewCell *cell in [self.tableView visibleCells]){ [self updateCell cell atIndexPath [self.tableView indexPathForCell cell]]; } } _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ セルを取得する _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ UITableViewCell *cell = [tableView cellForRowAtIndexPath indexPath]; _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 指定セルにスクロールする _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ // 先頭の場合 if ([self tableView tableView numberOfRowsInSection 0] 0) { NSIndexPath *indexPath = [NSIndexPath indexPathForRow 0 inSection 0]; [tableView scrollToRowAtIndexPath indexPath atScrollPosition UITableViewScrollPositionTop animated NO]; } // 選択状態有の場合 NSIndexPath *indexPath = [NSIndexPath indexPathForRow 0 inSection 0]; [tableView selectRowAtIndexPath indexPath animated YES scrollPosition UITableViewScrollPositionTop]; // 可視範囲の最終行にスクロールする - (void)scrollToVisibleEnd { NSArray *visibleArray = [[NSArray alloc] initWithArray [self.tableView indexPathsForVisibleRows]]; NSIndexPath *visibleTopIndexPath = [[NSIndexPath alloc] init]; visibleTopIndexPath = [visibleArray objectAtIndex 0]; int i = visibleTopIndexPath.row; i = i + [visibleArray count] -1; [self.tableView scrollToRowAtIndexPath [NSIndexPath indexPathForRow i inSection 0] atScrollPosition UITableViewScrollPositionBottom animated YES]; } // 最後に選択したセルの位置にスクロールさせる [_tableView scrollToNearestSelectedRowAtScrollPosition UITableViewScrollPositionTop animated YES]; _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 選択状態解除 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ // その1 [_tableView deselectRowAtIndexPath [_tableView indexPathForSelectedRow] animated YES]; // その2 - (void)tableView (UITableView *)tableView didSelectRowAtIndexPath (NSIndexPath *)indexPath { [tableView deselectRowAtIndexPath indexPath animated YES]; } // その3 リロードするだけでもOK? _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ スクロール同期 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ // イベント定義 #define SCROLL_NOTIFICATION @"scrollNotification" // イベント登録 NSNotificationCenter *center = [NSNotificationCenter defaultCenter]; [center addObserver self selector @selector(receiveScrollNotification ) name SCROLL_NOTIFICATION object nil]; // イベント登録(ブロック使用の場合) NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter]; [notificationCenter addObserverForName SCROLL_NOTIFICATION object nil queue nil usingBlock ^(NSNotification *note) { [weakSelf receiveScrollNotification]; }]; // イベント通知 - (void)scrollViewDidScroll (UIScrollView *)scrollView { [[NSNotificationCenter defaultCenter] postNotificationName SCROLL_NOTIFICATION object scrollView]; } // イベントハンドラ - (void)receiveScrollNotification (NSNotification *)notification { UIScrollView *stockTableView = notification.object; _firstTableView.contentOffset = stockTableView.contentOffset; _secondTableView.contentOffset = stockTableView.contentOffset; } // イベント削除 - (void)dealloc { [[NSNotificationCenter defaultCenter] removeObserver self name SCROLL_NOTIFICATION object nil]; } _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ セクションカスタマイズ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ CustomSectionHeader *header = [tableView dequeueReusableHeaderFooterViewWithIdentifier NSStringFromClass([CustomSectionHeader class])]; _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ セクションインデックス _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ .h @property (strong, nonatomic) NSMutableArray *sectionIndexes; .m // 初期化 _sectionIndexes = [NSMutableArray array]; // データ生成このブロックを編集する for (NSInteger i = 0; i [_tableItems count]; i++) { NSString *str = [NSString stringWithFormat @"%d", i+1]; [_sectionIndexes addObject str]; } /** * セクションインデックス一覧を返す。 * @param tableView 対象UITableViewインスタンス * @return セクションインデックス一覧 */ - (NSArray *)sectionIndexTitlesForTableView (UITableView *)tableView { return _sectionIndexes; } /** * セクションインデックスをタップ時に呼ばれる。 * @param 無し * @return 無し */ - (NSInteger)tableView (UITableView *)tableView sectionForSectionIndexTitle (NSString *)title atIndex (NSInteger)index { // 移動したいインデックスを指定する(通常はこのまま) return index; } _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 再選択を抑制する _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ /** * セルを選択する直前に呼ばれる * @param tableView 対象テーブルビュー * @param indexPath 索引データ * @return 選択対象となるNSIndexPath */ - (NSIndexPath *)tableView (UITableView *)tableView willSelectRowAtIndexPath (NSIndexPath *)indexPath { NSIndexPath *selectedIndexPath = [tableView indexPathForSelectedRow]; NSComparisonResult result = [selectedIndexPath compare indexPath]; if (result == NSOrderedSame) { return nil; } return indexPath; } _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 最初の行を選択状態にする _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ if ([self tableView _tableView numberOfRowsInSection 0] 0) { NSIndexPath *indexPath = [NSIndexPath indexPathForRow 0 inSection 0]; [_tableView selectRowAtIndexPath indexPath animated NO scrollPosition UITableViewScrollPositionTop]; } _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 選択行数を取得する _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ NSIndexPath *indexPath = [tableView indexPathForSelectedRow]; _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 指定行(範囲)のみを更新する _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ NSArray *indexPaths = @[indexPath]; [_tableView reloadRowsAtIndexPaths indexPaths withRowAnimation UITableViewRowAnimationNone]; _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ セル単位にスクロールする _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ #pragma mark UIScrollViewDelegate /** * スクロール停止時に呼ばれる(ドラッグ後の惰性による停止) * @param scrollView UIScrollViewインスタンス * @return 無し */ - (void)scrollViewDidEndDecelerating (UIScrollView *)scrollView { [self scrollPositonByEveryCell]; } /** * ドラッグ後に呼ばれる * @param scrollView UIScrollViewインスタンス * @param decelerate 減速有無(慣性が効いて動く場合、YES) * @return 無し */ - (void)scrollViewDidEndDragging (UIScrollView *)scrollView willDecelerate (BOOL)decelerate { // 加速無しの場合 if (!decelerate) { [self scrollPositonByEveryCell]; } } /** * セル単位にスクロールする * @param 無し * @return 無し */ - (void)scrollPositonByEveryCell { UITableView *tableView = (_constructionView.isHidden)? _businessPlaceTableView _constructionTableView; // 現在Y座標から現在のインデックスを求める NSInteger offsetY = tableView.contentOffset.y; NSIndexPath *indexPath = [tableView indexPathForRowAtPoint CGPointMake(0, offsetY)]; // 現在のインデックスの高さを求める CGFloat height = [self tableView tableView heightForRowAtIndexPath indexPath]; // 現在のインデックスの標準Y座標を求める CGRect indexPathRect = [tableView rectForRowAtIndexPath indexPath]; NSInteger indexPathY = indexPathRect.origin.y; // 残り(超過分)を求める NSInteger remain = offsetY - indexPathY; if (remain != 0) { CGPoint point = tableView.contentOffset; if (remain = height/2) { // 残りがセル半分以上の場合、次のセルへスクロールする NSInteger diff = height - remain; point.y += diff; } else { // 上記以外の場合、現在のセルの標準Y座標に戻る point.y -= remain; } [tableView setContentOffset point animated YES]; } } _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ NSIndexPath比較 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ NSComparisonResult result = [indexPath1 compare indexPath2]; if (result == NSOrderedAscending) { NSLog(@"indexPath1はindexPath2より小さい"); } else if (result == NSOrderedDescending) { NSLog(@"indexPath1はindexPath2より大きい"); } else { // result == NSOrderedSame NSLog(@"indexPath1といndexPath2は等しい"); } _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 一番下に移動する _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ // 方法1 NSInteger section = [self.tableView numberOfSections] - 1; NSInteger row = [self.tableView numberOfRowsInSection section] - 1; NSIndexPath *indexPath = [NSIndexPath indexPathForRow row inSection section]; [self.tableView scrollToRowAtIndexPath indexPath atScrollPosition UITableViewScrollPositionBottom animated YES]; // 方法2 if (self.tableView.contentSize.height self.tableView.frame.size.height - self.tableView.contentInset.top - self.tableView.contentInset.bottom) { CGPoint offset = CGPointMake(0, self.tableView.contentSize.height - self.tableView.frame.size.height + self.tableView.contentInset.bottom); [self.tableView setContentOffset offset animated YES]; _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 座標取得 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ // 先頭セルの各矩形情報を取得する NSIndexPath *indexpath = [NSIndexPath indexPathForRow 0 inSection 0]; CGRect rectOfCellInTableView = [tableview rectForRowAtIndexPath indexpath]; CGRect rectOfCellInSuperview = [tableview convertRect rectOfCellInTableView toView [tableview superview]]; CGPoint pointer = CGPointMake(rectOfCellInSuperview.size.width, rectOfCellInSuperview.size.height); _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ NSIndexPath _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ NSIndexPath *indexPath = [NSIndexPath indexPathForRow 0 inSection 0]; _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 遷移用アニメション(見た目) _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ // 遷移用アニメション(見た目) UITableViewRowAnimation deleteAnimation = (isTargetTab)? UITableViewRowAnimationRight UITableViewRowAnimationLeft; UITableViewRowAnimation insertAnimation = (isTargetTab)? UITableViewRowAnimationLeft UITableViewRowAnimationRight; [tableView beginUpdates]; [tableView deleteSections [NSIndexSet indexSetWithIndex 0] withRowAnimation deleteAnimation]; [tableView insertSections [NSIndexSet indexSetWithIndex 0] withRowAnimation insertAnimation]; [tableView endUpdates]; _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ セル背景色設定(交互) _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ /** * セルを表示する直前に呼ばれる。 * @param tableView 対象テーブルビュー * @param indexPath 索引データ * @return 無し */ - (void)tableView (UITableView *)tableView willDisplayCell (UITableViewCell *)cell forRowAtIndexPath (NSIndexPath *)indexPath { // セルを交互に背景色を変更する if (indexPath.row % 2) { cell.backgroundColor = [UIColor colorWithRed 235/255.0 green 241/255.0 blue 252/255.0 alpha 1.0f]; } } _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 境界線を消去する(データが存在しないセルにおける) _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _tableView.tableFooterView = [[UIView alloc] init]; _tableView.tableFooterView = UIView.new;
https://w.atwiki.jp/glorantha_e2j/pages/45.html
英語 日本語 分類 文献 備考 更新日 I Fought We Won 「我が戦い、皆が勝った」 GtSA 12 2008/01/09 Ibex Moon Guide アイベックスの月のガイド 職業 ヒーローウォーズ(用語索引) 2008/01/09 Ibex Moon Society アイベックスの月協会 ヒーローウォーズ(用語索引) バンド 2008/01/09 ice demon 氷の魔 DWI 2007/8/18 ichthyosaurs イクチオサウルス 2008/01/09 Identification 鑑別 神力 ヒーローウォーズ 2008/01/09 Identify Duckweed (Folk) ダック煙草の鑑定 (フォーク) 2A PGtG 95 2008/01/09 Identify Herbs (Folk) 薬草の鑑定 (フォーク) 2A PGtG 95 2008/01/09 Identify Runic Powers ルーンの力を鑑定する 神技 ヒーローウォーズ 2008/01/09 identity challenge 同一性の挑戦 ルール ヒーローウォーズ(用語索引) 2007/8/18 Idovanus イドヴァヌス TOME他 2008/01/09 Iertand ヤータンド DWI 2008/01/09 Ignore Wounds 負傷を無視する 神技 ヒーローウォーズ 2008/01/09 Ikadz イーカズ DWI 2008/01/09 Ikankos イカンコス GtSA 91 2008/01/09 Ill Before 昔の病 DWI 2008/01/09 Illaro イラロ DWI 2008/01/09 Illaro Blacktooth “黒い牙の”イラロ DWI 2008/01/09 Illiteracy Era 無文字時代 DWI 2008/01/09 illness demon 病魔 DWI 2007/8/18 Illotos イロトス 2A PGtG 2-5、グローランサ年代記 2008/01/09 Illuminate Surroundings あたりを照らす 神技 ヒーローウォーズ 2008/01/09 illumination 啓発 奥義 ヒーローウォーズ(用語索引) 世界 2007/8/17 Illustrate Text 文書を説明する 神技 ヒーローウォーズ 2008/01/09 Ilotos イロトス DWI 別綴り? 2008/01/09 Imadsalash イマドサラシュ 東方世界メモ 2008/01/09 Imarja イマルジャ TOME 俗信仰/われらの最愛の友 2008/01/09 Immeasurable Plane 無量界 ヒーローウォーズ(用語索引) 世界 2008/01/09 Immotion 不動 GtSA 2008/01/09 Imolo Wen イモロ・ウェン TOME他 2008/01/09 impala インパラ族 種族 DWI 2007/8/18 Imperial 帝国語 2007/9/12 Imperial Age 帝国の時代 ヒーローウォーズ(用語索引) 世界 2008/01/09 Imperial Bureaucrat 帝国官僚 職業 ヒーローウォーズ(用語索引) 2008/01/09 Imperial Citizen 帝国市民 ルール ヒーローウォーズ(用語索引) 2008/01/09 Imperial Court 帝国法廷 ヒーローウォーズ(用語索引) 世界 2008/01/09 Imperial Gazellet コウテイカモシカ DWI 2008/01/09 Imperial Guard 帝国近衛部隊 DWI 2008/01/09 Imperial Overlord 帝国大君主 RQ 2008/01/09 Imperial Overlord 帝国大元帥 TOME #3 2008/01/09 Imperial Throne Room 皇帝玉座の間 ヒーローウォーズ(用語索引) 地名、異 2008/01/09 Impress Jurors 陪審員に印象付ける 神技 ヒーローウォーズ 2008/01/09 improvisation modifier 代用修正 ルール ヒーローウォーズ(用語索引) 2007/8/18 improvisational modifier 代用修正 ルール ヒーローウォーズ(用語索引) 2007/8/18 Inandana イナンダーナ DWI 2008/01/09 Inandana Daughtersdotter “娘の娘”イナンダーナ DWI 2008/01/09 Incandescent Glare まばゆい光芒 奥義 ヒーローウォーズ 2008/01/09 Incarnate (Be Born Again) 降臨(再び生まれ変わる) 奥義 ヒーローウォーズ 2008/01/09 incarnation 化身 ルール ヒーローウォーズ(用語索引) 2007/8/17 Include Them かれらを加える 神技 ヒーローウォーズ 2008/01/09 Indalfi インダルフィ DWI 2008/01/09 Indigo Hill 藍の丘陵 DWI 2008/01/09 Indigo Mountain 藍の山脈 地名 DWI 2008/01/09 Individualist 個人主義者 2008/01/09 Indomitable Will がんこな意志 神技 ヒーローウォーズ 2008/01/09 Ineldus イネルダス DWI 2008/01/09 inerrant 過たぬ 2007/9/12 Infinite Emperor 永劫の皇帝/イェルム 神名 ヒーローウォーズ(用語索引) 神、大神 2008/01/09 Ingard インガード DWI 2008/01/09 Ingard the Wordwise “言葉使いの”インガード DWI 2008/01/09 Ingolf インゴルフ DWI 2008/01/09 Ingolf Dragonfriend “竜族の友”インゴルフ DWI 2008/01/09 Ingorf Dragonfriend 竜族の友インゴルフ DWI 2008/01/09 inhumans 非人間 TOME他 2007/8/27 initiate 入信者 ルール ヒーローウォーズ(用語索引) 2007/8/19 Injured 重傷 ルール ヒーローウォーズ(用語索引) 2008/01/09 Inkarne インカーネ DWI 2008/01/09 Inner Brotherhood 内的修道士団 DWI 2008/01/09 Inner Dragon 内なる竜 DWI 2008/01/09 Inner Seas 内海 DWI 2008/01/09 Inner World 内世界(物質界) ヒーローウォーズ(用語索引) 世界 2008/01/09 Innocence 無邪気 神力 ヒーローウォーズ 2008/01/09 Innocent and Guilty Magic 純真の魔術と罪悪の魔術 俗宗教 TOME Innocent and Guilty Magic 2008/01/09 Inolzi イノルジ DWI 2008/01/09 Inolzi the Learner “博識の”イノルジ DWI 2008/01/09 Inora イノーラ DWI 2008/01/09 Inside Mountain 内なる山 地名 DWI 2008/01/09 Inspire Loyalty 忠誠心を鼓舞する 神技 ヒーローウォーズ 2008/01/09 Instad インスタッド DWI 2008/01/09 Instand インスタンド DWI 2008/01/09 Instant Torture Camp 「刹那の拷問の野営」 TOME他 2008/01/09 Insterid インステリド DWI 2008/01/09 Insterid Fire Eyes “炎の目の”インステリド DWI 2008/01/09 Instill Pride 誇りを植えつける 神技 ヒーローウォーズ 2008/01/09 Intagarn インタガーン DWI 2008/01/09 Intan インタン DWI 2008/01/09 Intan Trail インタン街道 DWI 2008/01/09 integrate 融合 ルール ヒーローウォーズ(用語索引) 2007/8/19 integrate spirits 精霊の融合 ルール ヒーローウォーズ(用語索引) 2007/8/18 intercessor 仲裁者 2007/9/12 Interpret Spoken Language 会話を通訳する 神技 ヒーローウォーズ 2008/01/09 Intimidate 威嚇 神技 ヒーローウォーズ 2008/01/09 Intimidate Follower 部下を脅してやらせる 神技 ヒーローウォーズ 2008/01/09 Invincible Golden Horde 無敵の黄金の群 DWI 2008/01/09 Invisible God 見えざる神 神名 GtSA 6、ヒーローウォーズ(用語索引) 世界 2008/01/09 Invisible Measure 見えざる尺度/異界または魔道界 ヒーローウォーズ(用語索引) 世界 2008/01/09 Invisible mountain 見えざる山 ヒーローウォーズ(用語索引) 地理、異 2008/01/09 Invisible Vith 見えざるヴィス GtSA 2008/01/09 Invoke La-Ungariant ラ・ウンガリアントに祈願する 奥義 ヒーローウォーズ 2008/01/09 Invoke Law 法を実施する 神技 ヒーローウォーズ 2008/01/09 Iphara イファーラ DWI 2008/01/09 Ipland Marsh アップランド湿原 地名 DWI 2008/01/09 Iradgenderi イラゲンデール族 種族 東方世界メモ 2008/01/09 Irippi Ontor イリピー・オントール 神名 ヒーローウォーズ(用語索引) 神 2008/01/09 Irippi Ontor s Inkwell イリピー・オントールのインクつぼ ヒーローウォーズ(用語索引) 地名、異 2008/01/09 iron 鉄 GtSA 5/ヒーローウォーズ(用語索引) 物品 2007/8/18 Iron Bear 鉄の熊 DWI 2008/01/09 Iron Blood Order 鉄血教団 ヒーローウォーズ(用語索引) 教団 2008/01/09 Iron City 鋼鉄都市 地名 DWI 2008/01/09 Iron Deer 鉄の鹿 DWI 2008/01/09 iron dwarf 鉄ドワーフ 種族 ヒーローウォーズ(用語索引) 2007/8/18 Iron dwarfs 鉄ドワーフ 種族 GtSA 74 複数形 2008/01/09 Iron Maidens Regiment 「鉄の処女」連隊 DWI 2008/01/09 Iron Man 鉄の男 DWI 2008/01/09 Ironhoof 鉄の蹄 DWI 2008/01/09 Ironhoof King 鉄の蹄王 DWI 2008/01/09 Ironhoof King of Dragon Pass ドラゴン・パス王・鉄の蹄 DWI 2008/01/09 Irregular Squad Member 不正規兵 職業 ヒーローウォーズ(用語索引) 2008/01/09 Irripi Ontor イリピー・オントール 神名 TOME他 別綴り? 2008/01/09 Isban イスバーン TOME他 2008/01/09 Isgandrang イスガンドラング DWI 2008/01/09 Isgandrang Dragonspeaker “竜と話す者”イスガンドラング DWI 2008/01/09 Island Gulper 島を呑むもの DWI 2008/01/09 Islanders 島嶼人 種族 TOME 2008/01/09 Isle Dangerous 危機の島 DWI 2008/01/09 Islem River イスレム川 DWI 2008/01/09 Issaries イサリーズ 神名 GtSA 4/ヒーローウォーズ(用語索引) 神 2008/01/09 Issaries Slip-between “忍び歩きの”イサリーズ DWI 2008/01/09 issue 嘆願の件 ルール ヒーローウォーズ(用語索引) 2007/8/18 Ivory Plinth 象牙の礎 DWI 2008/01/09 Ivory Throne 象牙の玉座 DWI 2008/01/09
https://w.atwiki.jp/animeoped/pages/28.html
がくえんゆーとぴあ まなびストレート! がくえんゆーとぴあ まなびすとれーと! 監督:チームまなび部屋(金月龍之介、小笠原篤、高橋タクロヲ、平尾隆之) 原作:ufotable ストーリーディレクター:金月龍之介 ビジュアルディレクター・キャラクターデザイン:小笠原篤 音楽:三澤康広 アニメーション制作:ufotable オープニング テーマ曲:「A Happy Life」作詞・作曲:岡崎律子 編曲:たかはしごう 歌:林原めぐみ エンディング テーマ曲:「Lucky Happy」作詞・作曲:岡崎律子 編曲:たかはしごう 歌:林原めぐみ エンディング2 テーマ曲:「A Happy Life」(第12話)作詞・作曲:岡崎律子 編曲:渡辺拓也 歌:堀江由衣・野中藍・井上麻里奈・平野綾・藤田咲 A Happy Life [Maxi] まなびストレート! オリジナルサウンドトラック アンサンブルI がくえんゆーとぴあ まなびストレート!聖桜生徒会 アンサンブルII 2007年 作品名:か
https://w.atwiki.jp/sugawara/pages/29.html
Mac OS X Tips データソース NSTableDataSource データセット - (int)numberOfRowsInTableView (NSTableView *)aTableView; 行数を返す - (id)tableView (NSTableView *)aTableView objectValueForTableColumn (NSTableColumn *)aTableColumn row (int)rowIndex; ドラッグ - (BOOL)tableView (NSTableView *)tableView writeRows (NSArray *)rows toPasteboard (NSPasteboard *)pboard; でpboardに - (void)registerForDraggedTypes (NSArray *)pboardTpes; して - (BOOL)setString (NSString *)string forType (NSString *)dataType; や - (BOOL)setData (NSData *)data forType (NSString *)dataType; でデータをセットする。
https://w.atwiki.jp/natsutan/pages/43.html
概要 ハッシュテーブル構造体の定義 tcl/generic/tcl.h メンバー Tcl_HashEntry **buckets;bucket配列へのポインター。それぞれの要素は、bucket s hash chain の中の最初の要素を指すか、NULLである。 Tcl_HashEntry *staticBuckets[TCL_SMALL_HASH_TABLE]; mallocとfreeをさけるために、小さいテーブルに使用する。 int numBuckets; bucketPtrにアロケートされているbuckets数。 int numEntries; テーブルの中のエントリー数 int rebuildSize; numEntriesがこの大きさになったら、テーブルを大きくする。 int downShift; ハッシュ関数で使用するShift count。ランダムなキーの上位ビット向けにデザインされている。 int mask; ハッシュ関数のマスク値 int keyType;このテーブルで使っているキーのタイプ。TCL_CUSTOM_KEYS, TCL_STRING_KEYS, TCL_ONE_WORD_KEYS、整数のどれか Tcl_HashEntry *(*findProc) _ANSI_ARGS_(*1); Tcl_HashEntry *(*createProc) _ANSI_ARGS_(*2); Tcl_HashKeyType *typePtr; Tcl_HashTableで使用しているキーの型 ソース /* * Structure definition for a hash table. Must be in tcl.h so clients can * allocate space for these structures, but clients should never access any * fields in this structure. */ #define TCL_SMALL_HASH_TABLE 4 struct Tcl_HashTable { Tcl_HashEntry **buckets;/* Pointer to bucket array. Each element * points to first entry in bucket s hash * chain, or NULL. */ Tcl_HashEntry *staticBuckets[TCL_SMALL_HASH_TABLE]; /* Bucket array used for small tables (to * avoid mallocs and frees). */ int numBuckets;/* Total number of buckets allocated at * **bucketPtr. */ int numEntries;/* Total number of entries present in * table. */ int rebuildSize;/* Enlarge table when numEntries gets to be * this large. */ int downShift;/* Shift count used in hashing function. * Designed to use high-order bits of * randomized keys. */ int mask;/* Mask value used in hashing function. */ int keyType;/* Type of keys used in this table. It s * either TCL_CUSTOM_KEYS, TCL_STRING_KEYS, * TCL_ONE_WORD_KEYS, or an integer giving the * number of ints that is the size of the * key. */ Tcl_HashEntry *(*findProc) _ANSI_ARGS_((Tcl_HashTable *tablePtr, CONST char *key)); Tcl_HashEntry *(*createProc) _ANSI_ARGS_((Tcl_HashTable *tablePtr, CONST char *key, int *newPtr)); Tcl_HashKeyType *typePtr;/* Type of the keys used in the * Tcl_HashTable. */ };
https://w.atwiki.jp/uraken2012/pages/20.html
time table 13 30開会の挨拶的な(小林研) 13 40赤井研 13 50菊池研 14 00川村研 14 10阿久津研 14 20田島研 14 30松田研(寺田研) 14 40近藤研 14 50中嶋研 15 00土`山研 15 10芝井研 15 20高原研 15 30 (休憩) 15 40下田研 15 50岸本研 16 00久野研 16 10山中研 16 20~17 00 アソビの時間(時間が空いたら懇談会的な感じ) 17 00原子核理論 ※時間はあくまで目安です。
https://w.atwiki.jp/keisks/pages/416.html
pretty! https //github.com/derekeder/csv-to-html-table
https://w.atwiki.jp/stsk13/pages/23.html
Tear the dark night If story~in Autumn~ happy birthday to you~in Autumn~ Naoshi's melancholy~in Autumn~ Work at night~in Autumn~ Tear the dark night (Starry☆Sky~in Autumn~Portable 初回限定版) 01.Memories album of season~in Autumn~ 02.Message to you~Iku Mizushima~ 03.Message to you~Naoshi Haruki~ 04.Message to you~Kotarou Hoshizuki~ 05.celestial observation~in Autumn~ If story~in Autumn~ (Starry☆Sky~in Autumn~Portable アニメイト特典) happy birthday to you~in Autumn~ (Starry☆Sky~in Autumn~Portable メッセサンオー特典) Naoshi s melancholy~in Autumn~ (Starry☆Sky~in Autumn~Portable コミコミスタジオ特典) Work at night~in Autumn~ (Starry☆Sky~in Autumn~Portable ソフマップ特典)
https://w.atwiki.jp/unturned/pages/112.html
このページでは、空腹度などをどれだけ回復するかというのを比べるためのページです。 詳しくは個別の野菜ページをご覧ください。 Fresh Vegetables アイテム名 体力回復 空腹回復 水分回復 汚染回復 汚染 Fresh Tomato なし -20% なし なし なし Fresh Corn なし -25% なし なし なし Fresh Carrot なし -20% なし なし なし Fresh Cabbage なし -20% なし なし なし Fresh Potato なし -30% なし なし なし
https://w.atwiki.jp/jpops/pages/13033.html
no-tableをお気に入りに追加 no-tableのリンク #bf Amazon.co.jp ウィジェット no-tableの報道 Notable Healthはインテリジェントな自動化で新型コロナワクチン管理の効率化を目指す - TechCrunch Japan 画期的なオープンソースのノートアプリ『Notable』は、Evernoteより便利かも(Markdownを覚えれば) - Lifehacker JAPAN 医療機関で発揮される「音声AI」の真価ーー声で病院の事務作業時間を60%削減する「Notable」が300万ドルの資金調達 - THE BRIDGE,Inc. / 株式会社THE BRIDGE no-tableとは no-tableの80%は蛇の抜け殻で出来ています。no-tableの17%は呪詛で出来ています。no-tableの2%はカルシウムで出来ています。no-tableの1%は野望で出来ています。 no-table@ウィキペディア no-table Amazon.co.jp ウィジェット 掲示板 名前(HN) カキコミ すべてのコメントを見る ページ先頭へ no-table このページについて このページはno-tableのインターネット上の情報を集めたリンク集のようなものです。ブックマークしておけば、日々更新されるno-tableに関連する最新情報にアクセスすることができます。 情報収集はプログラムで行っているため、名前が同じであるが異なるカテゴリーの情報が掲載される場合があります。ご了承ください。 リンク先の内容を保証するものではありません。ご自身の責任でクリックしてください。