PageRenderTime 42ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/UIKit/UITableView2.h

http://github.com/kennytm/iphone-private-frameworks
C Header | 274 lines | 241 code | 8 blank | 25 comment | 0 complexity | 270d2a9a0826a88d19589a3e9a30b190 MD5 | raw file
  1. /**
  2. * This header is generated by class-dump-z 0.1-11o.
  3. * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
  4. */
  5. #import "NSCoding.h"
  6. #import <UIKit/UITableView.h>
  7. #import "UIKit-Structs.h"
  8. #import <UIKit/UIScrollView.h>
  9. #import <Availability2.h>
  10. @class NSMutableArray, NSIndexPath, NSMutableDictionary, NSArray, UITableViewCell, UIColor;
  11. @protocol UITableViewDelegate, UITableViewDataSource;
  12. @interface UITableView ()
  13. @property(retain, nonatomic) id scrollTestParameters __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_3_1);
  14. // inherited: -(id)initWithFrame:(CGRect)frame;
  15. -(void)_setupTableViewCommon;
  16. -(void)_populateArchivedSubviews:(id)subviews;
  17. // in a protocol: -(id)initWithCoder:(id)coder;
  18. // in a protocol: -(void)encodeWithCoder:(id)coder;
  19. // inherited: -(void)dealloc;
  20. -(void)reloadData;
  21. -(void)reloadSectionIndexTitles;
  22. -(void)noteNumberOfRowsChanged;
  23. -(int)globalRowForRowAtIndexPath:(id)indexPath;
  24. -(id)indexPathForRowAtGlobalRow:(int)globalRow;
  25. -(void)setIndexHiddenForSearch:(BOOL)search;
  26. -(void)setIndexHidden:(BOOL)hidden animated:(BOOL)animated;
  27. -(BOOL)isIndexHidden;
  28. -(CGRect)indexFrame;
  29. -(void)setTableHeaderViewShouldAutoHide:(BOOL)autoHide;
  30. -(BOOL)tableHeaderViewShouldAutoHide;
  31. -(BOOL)overlapsSectionHeaderViews;
  32. -(void)setOverlapsSectionHeaderViews:(BOOL)views;
  33. -(int)numberOfSections;
  34. -(int)numberOfRowsInSection:(int)section;
  35. -(CGRect)rectForSection:(int)section;
  36. -(CGRect)rectForHeaderInSection:(int)section;
  37. -(CGRect)rectForFooterInSection:(int)section;
  38. -(void)beginUpdates;
  39. -(void)endUpdatesWithContext:(id)context;
  40. -(void)endUpdates;
  41. -(id)_arrayForUpdateAction:(int)updateAction;
  42. -(void)_updateSections:(id)sections updateAction:(int)action withRowAnimation:(int)rowAnimation;
  43. -(void)_updateRowsAtIndexPaths:(id)indexPaths updateAction:(int)action withRowAnimation:(int)rowAnimation;
  44. -(BOOL)_isRowMultiSelect:(id)select;
  45. -(BOOL)_shouldHighlightInsteadOfSelectRowAtIndexPath:(id)indexPath;
  46. -(void)highlightRowAtIndexPath:(id)indexPath animated:(BOOL)animated scrollPosition:(int)position;
  47. -(void)unhighlightRowAtIndexPath:(id)indexPath animated:(BOOL)animated;
  48. -(void)_selectRowAtIndexPath:(id)indexPath animated:(BOOL)animated scrollPosition:(int)position notifyDelegate:(BOOL)delegate;
  49. -(void)_userSelectRowAtIndexPath:(id)indexPath;
  50. -(void)setShowsSelectionImmediatelyOnTouchBegin:(BOOL)begin;
  51. -(BOOL)showsSelectionImmediatelyOnTouchBegin;
  52. -(unsigned)maximumNumberOfSectionIndexTitlesWithoutTruncation;
  53. -(void)setBackgroundColor:(id)color;
  54. // inherited: -(BOOL)canHandleSwipes;
  55. // inherited: -(int)swipe:(int)swipe withEvent:(GSEventRef)event;
  56. -(int)swipeCell:(int)cell atPoint:(CGPoint)point;
  57. -(void)handleSwipe:(id)swipe;
  58. -(BOOL)_canSelectRowContainingHitView:(id)view;
  59. -(void)_tableViewDeferredTouchesBegan:(id)began;
  60. -(void)touchesBegan:(id)began withEvent:(id)event;
  61. -(void)touchesMoved:(id)moved withEvent:(id)event;
  62. -(void)_beginTouchesInContentView:(id)contentView touches:(id)touches withEvent:(id)event;
  63. -(void)_updateTableHeaderViewForAutoHide;
  64. // inherited: -(void)handlePan:(id)pan;
  65. // inherited: -(void)touchesEnded:(id)ended withEvent:(id)event;
  66. // inherited: -(void)touchesCancelled:(id)cancelled withEvent:(id)event;
  67. // inherited: -(void)mouseDown:(GSEventRef)down;
  68. // inherited: -(void)mouseDragged:(GSEventRef)dragged;
  69. // inherited: -(void)mouseUp:(GSEventRef)up;
  70. // inherited: -(id)hitTest:(CGPoint)test forEvent:(GSEventRef)event;
  71. // inherited: -(id)hitTest:(CGPoint)test withEvent:(id)event;
  72. // inherited: -(BOOL)touchesShouldCancelInContentView:(id)touches;
  73. -(BOOL)_scrollsToMakeFirstResponderVisible;
  74. -(void)layoutSubviews;
  75. -(void)_rectChangedWithNewSize:(CGSize)newSize oldSize:(CGSize)size;
  76. // inherited: -(void)setFrame:(CGRect)frame;
  77. // inherited: -(void)setBounds:(CGRect)bounds;
  78. -(void)setEditing:(BOOL)editing animated:(BOOL)animated;
  79. // inherited: -(void)setShowsHorizontalScrollIndicator:(BOOL)indicator;
  80. // inherited: -(void)setShowsVerticalScrollIndicator:(BOOL)indicator;
  81. // inherited: -(void)setContentOffset:(CGPoint)offset;
  82. // inherited: -(void)setContentInset:(UIEdgeInsets)inset;
  83. -(NSArray*)indexPathsForSelectedRows;
  84. #if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2
  85. -(id)rowDataDescription;
  86. -(void)_selectAllSelectedRows;
  87. -(void)setSeparatorTopShadowColor:(id)color;
  88. -(id)separatorTopShadowColor;
  89. -(void)setSeparatorBottomShadowColor:(id)color;
  90. -(id)separatorBottomShadowColor;
  91. -(void)setUsesVariableMargins:(BOOL)margins;
  92. -(BOOL)usesVariableMargins;
  93. -(void)_backgroundColorAnimationDidStop;
  94. -(void)_setBackgroundColor:(id)color animated:(BOOL)animated;
  95. -(BOOL)_beginTrackingWithEvent:(id)event;
  96. -(BOOL)_cancelContentTouchWithEvent:(id)event forced:(BOOL)forced;
  97. -(void)_scrollViewDidEndDraggingWithDeceleration:(BOOL)_scrollView;
  98. #else
  99. -(BOOL)_resetScrollingForGestureEvent:(id)gestureEvent;
  100. #endif
  101. @end
  102. @interface UITableView (UITableViewInternal)
  103. -(BOOL)_dataSourceImplementsNumberOfSectionsInTableView;
  104. -(BOOL)_delegateImplementsHeightForRowAtIndexPath;
  105. -(BOOL)_dataSourceImplementsCanUpdateRowAtIndexPath;
  106. -(BOOL)_delegateWantsHeaderForSection:(int)section;
  107. -(BOOL)_delegateWantsCustomHeaderForSection:(int)section;
  108. -(BOOL)_delegateWantsHeaderTitleForSection:(int)section;
  109. -(BOOL)_delegateImplementsHeightForRowsInSection;
  110. -(BOOL)_delegateWantsFooterForSection:(int)section __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_3_1);
  111. -(BOOL)_delegateWantsFooterTitleForSection:(int)section __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_3_1);
  112. -(BOOL)_delegateWantsCustomFooterForSection:(int)section;
  113. -(BOOL)_delegateImplementsHeightForHeaderInSection;
  114. -(BOOL)_delegateImplementsHeightForFooterInSection;
  115. -(BOOL)_dataSourceImplementsTitleForHeaderInSection;
  116. -(BOOL)_dataSourceImplementsTitleForFooterInSection;
  117. -(BOOL)_delegateImplementsViewForHeaderInSection;
  118. -(BOOL)_delegateImplementsViewForFooterInSection;
  119. -(void)_deselectAllNonMultiSelectRowsAnimated:(BOOL)animated;
  120. -(void)_deselectAllNonMultiSelectRowsAnimated:(BOOL)animated notifyDelegate:(BOOL)delegate;
  121. -(void)_deselectRowAtIndexPath:(id)indexPath animated:(BOOL)animated notifyDelegate:(BOOL)delegate;
  122. -(void)_stopAutoscrollTimer;
  123. -(void)_beginReorderingForCell:(id)cell;
  124. -(void)_tableCellAnimationDidStop:(id)_tableCellAnimation finished:(id)finished;
  125. -(void)adjustIndexPaths:(id)paths forMoveOfIndexPath:(id)indexPath toIndexPath:(id)indexPath3;
  126. -(void)_endReorderingForCell:(id)cell wasCancelled:(BOOL)cancelled animated:(BOOL)animated;
  127. -(void)_cancelCellReorder:(BOOL)reorder;
  128. -(void)_endCellReorderAnimation:(BOOL)animation;
  129. -(void)_finishedAnimatingCellReorder:(id)reorder finished:(id)finished context:(id)context;
  130. -(void)_beginReorderAnimationForCell:(id)cell;
  131. -(void)_endReorderAnimations;
  132. -(void)_autoscroll:(id)autoscroll;
  133. -(id)_targetIndexPathAtPoint:(CGPoint)point;
  134. -(void)_setTopSeparatorCell:(id)cell;
  135. -(id)_cellAfterIndexPath:(id)path;
  136. -(NSRange)_visibleGlobalRows;
  137. -(id)_visibleCellForGlobalRow:(int)globalRow;
  138. -(BOOL)_wasEditing;
  139. -(BOOL)_wasEditingRowAtIndexPath:(id)indexPath;
  140. -(BOOL)_isEditingRowAtIndexPath:(id)indexPath;
  141. -(id)_reorderingCell;
  142. -(int)_globalReorderingRow;
  143. -(id)_reorderingIndexPath;
  144. -(id)_sectionHeaderViewWithFrame:(CGRect)frame forSection:(int)section opaque:(BOOL)opaque reuseViewIfPossible:(BOOL)possible;
  145. -(id)_sectionFooterViewWithFrame:(CGRect)frame forSection:(int)section opaque:(BOOL)opaque reuseViewIfPossible:(BOOL)possible;
  146. -(void)_setupCell:(id)cell forEditing:(BOOL)editing canEdit:(BOOL)edit editingStyle:(int)style shouldIndentWhileEditing:(BOOL)editing5 showsReorderControl:(BOOL)control accessoryType:(int)type animated:(BOOL)animated;
  147. -(void)_setupCell:(id)cell forEditing:(BOOL)editing atIndexPath:(id)indexPath animated:(BOOL)animated;
  148. -(id)_createPreparedCellForGlobalRow:(int)globalRow withIndexPath:(id)indexPath;
  149. -(id)_createPreparedCellForGlobalRow:(int)globalRow;
  150. -(id)_createPreparedCellForRowAtIndexPath:(id)indexPath;
  151. -(id)_visibleHeaderViewForSection:(int)section;
  152. -(id)_visibleFooterViewForSection:(int)section;
  153. -(BOOL)allowsHeaderViewsToFloat;
  154. -(BOOL)allowsFooterViewsToFloat;
  155. -(void)_tableHeaderHeightDidChangeToHeight:(float)_tableHeaderHeight;
  156. -(void)_drawExtraSeparator:(CGRect)separator;
  157. -(BOOL)_isCellReorderable:(id)reorderable;
  158. -(id)titleForDeleteConfirmationButton:(id)deleteConfirmationButton;
  159. -(void)_reorderPositionChangedForCell:(id)cell;
  160. -(void)_endSwipeToDeleteRowDidDelete:(BOOL)_endSwipeToDeleteRow;
  161. -(void)_removeWasCanceledForCell:(id)cell;
  162. -(void)_didInsertRowForTableCell:(id)tableCell;
  163. -(void)_finishedRemovingRemovalButtonForTableCell:(id)tableCell;
  164. -(void)animateDeletionOfRowWithCell:(id)cell;
  165. -(BOOL)_isShowingIndex;
  166. -(CGRect)_indexRect;
  167. -(void)_setCell:(id)cell isAncestorOfFirstResponder:(BOOL)firstResponder;
  168. -(id)_rowData;
  169. -(id)_indexPathForSwipeRowAtPoint:(CGPoint)point;
  170. -(BOOL)_wantsSwipes;
  171. -(BOOL)_isTableHeaderViewHidden;
  172. -(float)_spacingForExtraSeparators;
  173. -(BOOL)_shouldShowMenuForCell:(id)cell __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_3_1);
  174. -(BOOL)_canPerformAction:(SEL)action forCell:(id)cell sender:(id)sender __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_3_1);
  175. -(void)_performAction:(SEL)action forCell:(id)cell sender:(id)sender __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_3_1);
  176. #if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2
  177. -(BOOL)_delegateImplementsTitleWidthForHeaderInSection;
  178. -(BOOL)_delegateImplementsAlignmentForHeaderInSection;
  179. -(BOOL)_delegateImplementsTitleWidthForFooterInSection;
  180. -(BOOL)_delegateImplementsAlignmentForFooterInSection;
  181. -(float)_heightForSeparator;
  182. -(float)_backgroundInset;
  183. #endif
  184. @end
  185. @interface UITableView (_UITableViewPrivate)
  186. -(void)_performScrollTest:(id)test iterations:(int)iterations delta:(int)delta __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_3_1);
  187. -(void)_performScrollTest:(id)test iterations:(int)iterations delta:(int)delta length:(int)length __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_3_1);
  188. -(void)_scroll __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_3_1);
  189. -(id)_swipeGestureRecognizer;
  190. -(void)setUsesGestureRecognizers:(BOOL)recognizers;
  191. -(float)_animationDuration;
  192. -(void)_ensureRowDataIsLoaded;
  193. -(void)_updateRowData;
  194. -(void)_scheduleAdjustExtraSeparators;
  195. -(void)_adjustCountLabel;
  196. -(void)_adjustReusableTableCells;
  197. -(void)_suspendReloads;
  198. -(void)_resumeReloads;
  199. -(unsigned)_countStringRowCount;
  200. -(void)_setRowCount:(int)count;
  201. -(void)setCountStringInsignificantRowCount:(unsigned)count;
  202. -(void)setCountString:(id)string;
  203. -(void)setTableHeaderBackgroundColor:(id)color;
  204. -(id)tableHeaderBackgroundColor;
  205. -(void)setMultiselectCheckmarkColor:(UIColor*)color;
  206. -(UIColor*)multiselectCheckmarkColor;
  207. -(void)_adjustTableHeaderAndFooterViews;
  208. -(void)_updateContentSize;
  209. -(void)_updateIndexFrame;
  210. -(void)_updateIndexTitles:(id)titles;
  211. -(void)_updateIndex;
  212. -(void)_setupCellAnimations;
  213. -(void)_endCellAnimationsWithContext:(id)context;
  214. -(void)_setNeedsVisibleCellsUpdate:(BOOL)update withFrames:(BOOL)frames;
  215. -(void)_updateVisibleCellsImmediatelyIfNecessary;
  216. -(void)_updateVisibleHeadersAndFootersNow;
  217. -(void)_updateVisibleCellsNow;
  218. -(NSRange)_visibleGlobalRowsInRect:(CGRect)rect;
  219. -(BOOL)_shouldDisplayExtraSeparatorsAtOffset:(float*)offset;
  220. -(void)_adjustExtraSeparators;
  221. -(void)_addContentSubview:(id)subview atBack:(BOOL)back;
  222. -(id)_tableViewCellForContentView:(id)contentView;
  223. -(int)_editingStyleForRowAtIndexPath:(id)indexPath;
  224. -(id)_titleForDeleteConfirmationButtonForRowAtIndexPath:(id)indexPath;
  225. -(BOOL)_shouldIndentWhileEditingForRowAtIndexPath:(id)indexPath;
  226. -(int)_accessoryTypeForCell:(id)cell forRowAtIndexPath:(id)indexPath;
  227. -(BOOL)_canMoveRowAtIndexPath:(id)indexPath;
  228. -(id)_reorderingSupport;
  229. -(void)_reuseTableViewCell:(id)cell;
  230. -(void)_reuseHeaderView:(id)view;
  231. -(void)_reuseFooterView:(id)view;
  232. -(void)_updateWithItems:(id)items withOldRowData:(id)oldRowData oldRowRange:(NSRange)range newRowRange:(NSRange)range4 context:(id)context;
  233. -(void)_updateAnimationDidStop:(id)_updateAnimation finished:(id)finished context:(id)context;
  234. -(BOOL)_canEditRowAtIndexPath:(id)indexPath;
  235. -(void)_accessoryButtonAction:(id)action;
  236. -(void)_sectionIndexChanged:(id)changed;
  237. -(void)flashScrollIndicators;
  238. -(void)_updateShowScrollIndicatorsFlag;
  239. -(BOOL)_hasSwipeToDeleteRow;
  240. -(BOOL)_shouldDisplayTopSeparator;
  241. -(void)_languageChanged;
  242. -(void)_validateCells;
  243. -(void)_validateSectionHeadersAndFooters;
  244. -(void)_sendWillBeginEditingForIndexPath:(id)_send;
  245. -(void)_sendDidEndEditingForIndexPath:(id)_send;
  246. -(id)deleteConfirmationIndexPath;
  247. -(void)setDeleteConfirmationIndexPath:(id)path animated:(BOOL)animated;
  248. -(void)_scrollToTopHidingTableHeader:(BOOL)topHidingTableHeader;
  249. -(void)_scrollToTopHidingTableHeaderIfNecessary:(BOOL)topHidingTableHeaderIfNecessary;
  250. #if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2
  251. -(void)_updateBackgroundViewFrame;
  252. -(void)_updateBackgroundView;
  253. -(id)_newSectionViewWithFrame:(CGRect)frame forSection:(int)section isHeader:(BOOL)header;
  254. -(id)_defaultBackgroundView;
  255. -(CGSize)_fontMetrics:(id)metrics;
  256. -(CGSize)_atomBackgroundTextOffset;
  257. #else
  258. -(id)_newSectionViewWithFrame:(CGRect)frame isHeader:(BOOL)header;
  259. #endif
  260. @end
  261. @interface UITableView (SyntheticEvents)
  262. -(id)_scriptingInfo;
  263. @end
  264. @interface UITableView (UIKitAccessibilityInterfaceBuilderSupport)
  265. -(BOOL)isElementAccessibilityExposedToInterfaceBuilder;
  266. @end