/
nstableview.html
8019 lines (7312 loc) · 303 KB
/
nstableview.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html>
<head>
<meta charset='utf-8'>
<title>NSTableView</title>
<link rel='stylesheet' href='main.css' type='text/css' media='screen'>
</head>
<body>
<div class='rightbar'>
<div class='inner'>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!<br>
HELLO WORLD!
</div>
</div>
<div class='leftcontent'>
<a name='overview'></a>
<div class='methods overview'>
<h1>NSTableView</h1><p>An NSTableView object displays data for a set of related records, with rows representing individual records and columns representing the attributes of those records.
</p><p>A table view is usually displayed in a scroll view, like this:
</p> <tr>
</tr>
</div>
<a name='tasks'></a>
<div class='methods tasks'>
<h2>Setting the Data Source</h2>
<ul>
<li><code><a href='#setDataSource:.instance-method' class='stealth'>– setDataSource:</a></code></li>
<li><code><a href='#dataSource.instance-method' class='stealth'>– dataSource</a></code></li>
</ul>
<h2>Loading Data</h2>
<ul>
<li><code><a href='#reloadData.instance-method' class='stealth'>– reloadData</a></code></li>
<li><code><a href='#reloadDataForRowIndexes:columnIndexes:.instance-method' class='stealth'>– reloadDataForRowIndexes:columnIndexes:</a></code></li>
</ul>
<h2>Target-action Behavior</h2>
<ul>
<li><code><a href='#setDoubleAction:.instance-method' class='stealth'>– setDoubleAction:</a></code></li>
<li><code><a href='#doubleAction.instance-method' class='stealth'>– doubleAction</a></code></li>
<li><code><a href='#clickedColumn.instance-method' class='stealth'>– clickedColumn</a></code></li>
<li><code><a href='#clickedRow.instance-method' class='stealth'>– clickedRow</a></code></li>
</ul>
<h2>Configuring Behavior</h2>
<ul>
<li><code><a href='#setAllowsColumnReordering:.instance-method' class='stealth'>– setAllowsColumnReordering:</a></code></li>
<li><code><a href='#allowsColumnReordering.instance-method' class='stealth'>– allowsColumnReordering</a></code></li>
<li><code><a href='#setAllowsColumnResizing:.instance-method' class='stealth'>– setAllowsColumnResizing:</a></code></li>
<li><code><a href='#allowsColumnResizing.instance-method' class='stealth'>– allowsColumnResizing</a></code></li>
<li><code><a href='#setAllowsMultipleSelection:.instance-method' class='stealth'>– setAllowsMultipleSelection:</a></code></li>
<li><code><a href='#allowsMultipleSelection.instance-method' class='stealth'>– allowsMultipleSelection</a></code></li>
<li><code><a href='#setAllowsEmptySelection:.instance-method' class='stealth'>– setAllowsEmptySelection:</a></code></li>
<li><code><a href='#allowsEmptySelection.instance-method' class='stealth'>– allowsEmptySelection</a></code></li>
<li><code><a href='#setAllowsColumnSelection:.instance-method' class='stealth'>– setAllowsColumnSelection:</a></code></li>
<li><code><a href='#allowsColumnSelection.instance-method' class='stealth'>– allowsColumnSelection</a></code></li>
</ul>
<h2>Setting Display Attributes</h2>
<ul>
<li><code><a href='#setIntercellSpacing:.instance-method' class='stealth'>– setIntercellSpacing:</a></code></li>
<li><code><a href='#intercellSpacing.instance-method' class='stealth'>– intercellSpacing</a></code></li>
<li><code><a href='#setRowHeight:.instance-method' class='stealth'>– setRowHeight:</a></code></li>
<li><code><a href='#rowHeight.instance-method' class='stealth'>– rowHeight</a></code></li>
<li><code><a href='#setBackgroundColor:.instance-method' class='stealth'>– setBackgroundColor:</a></code></li>
<li><code><a href='#backgroundColor.instance-method' class='stealth'>– backgroundColor</a></code></li>
<li><code><a href='#setUsesAlternatingRowBackgroundColors:.instance-method' class='stealth'>– setUsesAlternatingRowBackgroundColors:</a></code></li>
<li><code><a href='#usesAlternatingRowBackgroundColors.instance-method' class='stealth'>– usesAlternatingRowBackgroundColors</a></code></li>
<li><code><a href='#selectionHighlightStyle.instance-method' class='stealth'>– selectionHighlightStyle</a></code></li>
<li><code><a href='#setSelectionHighlightStyle:.instance-method' class='stealth'>– setSelectionHighlightStyle:</a></code></li>
<li><code><a href='#setGridColor:.instance-method' class='stealth'>– setGridColor:</a></code></li>
<li><code><a href='#gridColor.instance-method' class='stealth'>– gridColor</a></code></li>
<li><code><a href='#setGridStyleMask:.instance-method' class='stealth'>– setGridStyleMask:</a></code></li>
<li><code><a href='#gridStyleMask.instance-method' class='stealth'>– gridStyleMask</a></code></li>
<li><code><a href='#indicatorImageInTableColumn:.instance-method' class='stealth'>– indicatorImageInTableColumn:</a></code></li>
<li><code><a href='#setIndicatorImage:inTableColumn:.instance-method' class='stealth'>– setIndicatorImage:inTableColumn:</a></code></li>
</ul>
<h2>Column Management</h2>
<ul>
<li><code><a href='#addTableColumn:.instance-method' class='stealth'>– addTableColumn:</a></code></li>
<li><code><a href='#removeTableColumn:.instance-method' class='stealth'>– removeTableColumn:</a></code></li>
<li><code><a href='#moveColumn:toColumn:.instance-method' class='stealth'>– moveColumn:toColumn:</a></code></li>
<li><code><a href='#tableColumns.instance-method' class='stealth'>– tableColumns</a></code></li>
<li><code><a href='#columnWithIdentifier:.instance-method' class='stealth'>– columnWithIdentifier:</a></code></li>
<li><code><a href='#tableColumnWithIdentifier:.instance-method' class='stealth'>– tableColumnWithIdentifier:</a></code></li>
</ul>
<h2>Selecting Columns and Rows</h2>
<ul>
<li><code><a href='#selectColumnIndexes:byExtendingSelection:.instance-method' class='stealth'>– selectColumnIndexes:byExtendingSelection:</a></code></li>
<li><code><a href='#selectedColumn.instance-method' class='stealth'>– selectedColumn</a></code></li>
<li><code><a href='#selectedColumnIndexes.instance-method' class='stealth'>– selectedColumnIndexes</a></code></li>
<li><code><a href='#deselectColumn:.instance-method' class='stealth'>– deselectColumn:</a></code></li>
<li><code><a href='#numberOfSelectedColumns.instance-method' class='stealth'>– numberOfSelectedColumns</a></code></li>
<li><code><a href='#isColumnSelected:.instance-method' class='stealth'>– isColumnSelected:</a></code></li>
<li><code><a href='#selectRowIndexes:byExtendingSelection:.instance-method' class='stealth'>– selectRowIndexes:byExtendingSelection:</a></code></li>
<li><code><a href='#selectedRow.instance-method' class='stealth'>– selectedRow</a></code></li>
<li><code><a href='#selectedRowIndexes.instance-method' class='stealth'>– selectedRowIndexes</a></code></li>
<li><code><a href='#deselectRow:.instance-method' class='stealth'>– deselectRow:</a></code></li>
<li><code><a href='#numberOfSelectedRows.instance-method' class='stealth'>– numberOfSelectedRows</a></code></li>
<li><code><a href='#isRowSelected:.instance-method' class='stealth'>– isRowSelected:</a></code></li>
<li><code><a href='#selectAll:.instance-method' class='stealth'>– selectAll:</a></code></li>
<li><code><a href='#deselectAll:.instance-method' class='stealth'>– deselectAll:</a></code></li>
</ul>
<h2>Managing Type Select</h2>
<ul>
<li><code><a href='#allowsTypeSelect.instance-method' class='stealth'>– allowsTypeSelect</a></code></li>
<li><code><a href='#setAllowsTypeSelect:.instance-method' class='stealth'>– setAllowsTypeSelect:</a></code></li>
</ul>
<h2>Getting and Setting Column Focus</h2>
<ul>
<li><code><a href='#focusedColumn.instance-method' class='stealth'>– focusedColumn</a></code></li>
<li><code><a href='#setFocusedColumn:.instance-method' class='stealth'>– setFocusedColumn:</a></code></li>
<li><code><a href='#shouldFocusCell:atColumn:row:.instance-method' class='stealth'>– shouldFocusCell:atColumn:row:</a></code></li>
</ul>
<h2>Table Dimensions</h2>
<ul>
<li><code><a href='#numberOfColumns.instance-method' class='stealth'>– numberOfColumns</a></code></li>
<li><code><a href='#numberOfRows.instance-method' class='stealth'>– numberOfRows</a></code></li>
</ul>
<h2>Displaying Cell</h2>
<ul>
<li><code><a href='#preparedCellAtColumn:row:.instance-method' class='stealth'>– preparedCellAtColumn:row:</a></code></li>
</ul>
<h2>Editing Cells</h2>
<ul>
<li><code><a href='#editColumn:row:withEvent:select:.instance-method' class='stealth'>– editColumn:row:withEvent:select:</a></code></li>
<li><code><a href='#editedColumn.instance-method' class='stealth'>– editedColumn</a></code></li>
<li><code><a href='#editedRow.instance-method' class='stealth'>– editedRow</a></code></li>
<li><code><a href='#performClickOnCellAtColumn:row:.instance-method' class='stealth'>– performClickOnCellAtColumn:row:</a></code></li>
</ul>
<h2>Setting Auxiliary Views</h2>
<ul>
<li><code><a href='#setHeaderView:.instance-method' class='stealth'>– setHeaderView:</a></code></li>
<li><code><a href='#headerView.instance-method' class='stealth'>– headerView</a></code></li>
<li><code><a href='#setCornerView:.instance-method' class='stealth'>– setCornerView:</a></code></li>
<li><code><a href='#cornerView.instance-method' class='stealth'>– cornerView</a></code></li>
</ul>
<h2>Layout Support</h2>
<ul>
<li><code><a href='#rectOfColumn:.instance-method' class='stealth'>– rectOfColumn:</a></code></li>
<li><code><a href='#rectOfRow:.instance-method' class='stealth'>– rectOfRow:</a></code></li>
<li><code><a href='#rowsInRect:.instance-method' class='stealth'>– rowsInRect:</a></code></li>
<li><code><a href='#columnIndexesInRect:.instance-method' class='stealth'>– columnIndexesInRect:</a></code></li>
<li><code><a href='#columnAtPoint:.instance-method' class='stealth'>– columnAtPoint:</a></code></li>
<li><code><a href='#rowAtPoint:.instance-method' class='stealth'>– rowAtPoint:</a></code></li>
<li><code><a href='#frameOfCellAtColumn:row:.instance-method' class='stealth'>– frameOfCellAtColumn:row:</a></code></li>
<li><code><a href='#columnAutoresizingStyle.instance-method' class='stealth'>– columnAutoresizingStyle</a></code></li>
<li><code><a href='#setColumnAutoresizingStyle:.instance-method' class='stealth'>– setColumnAutoresizingStyle:</a></code></li>
<li><code><a href='#sizeLastColumnToFit.instance-method' class='stealth'>– sizeLastColumnToFit</a></code></li>
<li><code><a href='#noteNumberOfRowsChanged.instance-method' class='stealth'>– noteNumberOfRowsChanged</a></code></li>
<li><code><a href='#tile.instance-method' class='stealth'>– tile</a></code></li>
<li><code><a href='#sizeToFit.instance-method' class='stealth'>– sizeToFit</a></code></li>
<li><code><a href='#noteHeightOfRowsWithIndexesChanged:.instance-method' class='stealth'>– noteHeightOfRowsWithIndexesChanged:</a></code></li>
<li><code><a href='#columnsInRect:.instance-method' class='stealth'>– columnsInRect:</a></code></li>
</ul>
<h2>Drawing</h2>
<ul>
<li><code><a href='#drawRow:clipRect:.instance-method' class='stealth'>– drawRow:clipRect:</a></code></li>
<li><code><a href='#drawGridInClipRect:.instance-method' class='stealth'>– drawGridInClipRect:</a></code></li>
<li><code><a href='#highlightSelectionInClipRect:.instance-method' class='stealth'>– highlightSelectionInClipRect:</a></code></li>
<li><code><a href='#drawBackgroundInClipRect:.instance-method' class='stealth'>– drawBackgroundInClipRect:</a></code></li>
</ul>
<h2>Scrolling</h2>
<ul>
<li><code><a href='#scrollRowToVisible:.instance-method' class='stealth'>– scrollRowToVisible:</a></code></li>
<li><code><a href='#scrollColumnToVisible:.instance-method' class='stealth'>– scrollColumnToVisible:</a></code></li>
</ul>
<h2>Persistence</h2>
<ul>
<li><code><a href='#autosaveName.instance-method' class='stealth'>– autosaveName</a></code></li>
<li><code><a href='#autosaveTableColumns.instance-method' class='stealth'>– autosaveTableColumns</a></code></li>
<li><code><a href='#setAutosaveName:.instance-method' class='stealth'>– setAutosaveName:</a></code></li>
<li><code><a href='#setAutosaveTableColumns:.instance-method' class='stealth'>– setAutosaveTableColumns:</a></code></li>
</ul>
<h2>Setting the Delegate</h2>
<ul>
<li><code><a href='#setDelegate:.instance-method' class='stealth'>– setDelegate:</a></code></li>
<li><code><a href='#delegate.instance-method' class='stealth'>– delegate</a></code></li>
</ul>
<h2>Highlightable Column Headers</h2>
<ul>
<li><code><a href='#highlightedTableColumn.instance-method' class='stealth'>– highlightedTableColumn</a></code></li>
<li><code><a href='#setHighlightedTableColumn:.instance-method' class='stealth'>– setHighlightedTableColumn:</a></code></li>
</ul>
<h2>Dragging</h2>
<ul>
<li><code><a href='#dragImageForRowsWithIndexes:tableColumns:event:offset:.instance-method' class='stealth'>– dragImageForRowsWithIndexes:tableColumns:event:offset:</a></code></li>
<li><code><a href='#canDragRowsWithIndexes:atPoint:.instance-method' class='stealth'>– canDragRowsWithIndexes:atPoint:</a></code></li>
<li><code><a href='#setDraggingSourceOperationMask:forLocal:.instance-method' class='stealth'>– setDraggingSourceOperationMask:forLocal:</a></code></li>
<li><code><a href='#setVerticalMotionCanBeginDrag:.instance-method' class='stealth'>– setVerticalMotionCanBeginDrag:</a></code></li>
<li><code><a href='#verticalMotionCanBeginDrag.instance-method' class='stealth'>– verticalMotionCanBeginDrag</a></code></li>
<li><code><a href='#draggingDestinationFeedbackStyle.instance-method' class='stealth'>– draggingDestinationFeedbackStyle</a></code></li>
<li><code><a href='#setDraggingDestinationFeedbackStyle:.instance-method' class='stealth'>– setDraggingDestinationFeedbackStyle:</a></code></li>
<li><code><a href='#setDropRow:dropOperation:.instance-method' class='stealth'>– setDropRow:dropOperation:</a></code></li>
</ul>
<h2>Sorting</h2>
<ul>
<li><code><a href='#setSortDescriptors:.instance-method' class='stealth'>– setSortDescriptors:</a></code></li>
<li><code><a href='#sortDescriptors.instance-method' class='stealth'>– sortDescriptors</a></code></li>
</ul>
<h2>Text Delegate Methods</h2>
<ul>
<li><code><a href='#textShouldBeginEditing:.instance-method' class='stealth'>– textShouldBeginEditing:</a></code></li>
<li><code><a href='#textDidBeginEditing:.instance-method' class='stealth'>– textDidBeginEditing:</a></code></li>
<li><code><a href='#textDidChange:.instance-method' class='stealth'>– textDidChange:</a></code></li>
<li><code><a href='#textShouldEndEditing:.instance-method' class='stealth'>– textShouldEndEditing:</a></code></li>
<li><code><a href='#textDidEndEditing:.instance-method' class='stealth'>– textDidEndEditing:</a></code></li>
</ul>
<h2>Deprecated Methods</h2>
<ul>
<li><code><a href='#drawsGrid.instance-method' class='stealth'>– drawsGrid</a></code></li>
<li><code><a href='#selectColumn:byExtendingSelection:.instance-method' class='stealth'>– selectColumn:byExtendingSelection:</a></code></li>
<li><code><a href='#selectedColumnEnumerator.instance-method' class='stealth'>– selectedColumnEnumerator</a></code></li>
<li><code><a href='#selectedRowEnumerator.instance-method' class='stealth'>– selectedRowEnumerator</a></code></li>
<li><code><a href='#selectRow:byExtendingSelection:.instance-method' class='stealth'>– selectRow:byExtendingSelection:</a></code></li>
<li><code><a href='#setDrawsGrid:.instance-method' class='stealth'>– setDrawsGrid:</a></code></li>
<li><code><a href='#autoresizesAllColumnsToFit.instance-method' class='stealth'>– autoresizesAllColumnsToFit</a></code></li>
<li><code><a href='#dragImageForRows:event:dragImageOffset:.instance-method' class='stealth'>– dragImageForRows:event:dragImageOffset:</a></code></li>
<li><code><a href='#setAutoresizesAllColumnsToFit:.instance-method' class='stealth'>– setAutoresizesAllColumnsToFit:</a></code></li>
<li><code><a href='ingr-doc://mac.10.6/all/NSObject.unknown/tableView:writeRows:toPasteboard:.instance-method' class='stealth'>– tableView:writeRows:toPasteboard:</a></code></li>
</ul>
</div>
<a name='properties'></a>
<div class='methods' class='properties'>
</div><a name='methods'></a>
<div class='methods'>
<a name='addTableColumn:.instance-method'></a>
<div class='method'>
<h2>addTableColumn:</h2>
<div class='description'><p>Adds a given column as the last column of the receiver.
</p></div>
<p class='prototype'><code>- (void)addTableColumn:(NSTableColumn *)aColumn
</code></p>
<div class='in-out-vals'>
<p class='parameter'><strong>aColumn</strong> The column to add to the receiver.
</p>
</div>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
</tr>
<tr class='first'>
<td rowspan='2'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='2'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#removeTableColumn:.instance-method' class='stealth'>– removeTableColumn:</a></code></td>
</tr>
<tr>
<td><code><a href='#sizeLastColumnToFit.instance-method' class='stealth'>– sizeLastColumnToFit</a></code></td>
</tr>
</table>
</div>
<a name='allowsColumnReordering.instance-method'></a>
<div class='method'>
<h2>allowsColumnReordering</h2>
<div class='description'><p>Returns a Boolean value that indicates whether the receiver allows the user to rearrange columns by dragging their headers.
</p></div>
<p class='prototype'><code>- (BOOL)allowsColumnReordering
</code></p>
<div class='in-out-vals'>
<p class='returns'><strong>Returns</strong> YES to allow the user to rearrange columns by dragging their headers, otherwise NO.
</p>
</div>
<hr>
<div class='discussion'><p>The default is YES. You can rearrange columns programmatically regardless of this setting.
</p></div>
<hr>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
</tr>
<tr class='first'>
<td rowspan='2'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='2'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#moveColumn:toColumn:.instance-method' class='stealth'>– moveColumn:toColumn:</a></code></td>
</tr>
<tr>
<td><code><a href='#setAllowsColumnReordering:.instance-method' class='stealth'>– setAllowsColumnReordering:</a></code></td>
</tr>
</table>
</div>
<a name='allowsColumnResizing.instance-method'></a>
<div class='method'>
<h2>allowsColumnResizing</h2>
<div class='description'><p>Returns a Boolean value that indicates whether the receiver allows the user to resize columns by dragging between their headers.
</p></div>
<p class='prototype'><code>- (BOOL)allowsColumnResizing
</code></p>
<div class='in-out-vals'>
<p class='returns'><strong>Returns</strong> YES if the receiver allows the user to resize columns by dragging between their headers, otherwise NO.
</p>
</div>
<hr>
<div class='discussion'><p>The default is YES. You can resize columns programmatically regardless of this setting.
</p></div>
<hr>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
</tr>
<tr class='first'>
<td rowspan='1'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='1'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#setAllowsColumnResizing:.instance-method' class='stealth'>– setAllowsColumnResizing:</a></code></td>
</tr>
</table>
</div>
<a name='allowsColumnSelection.instance-method'></a>
<div class='method'>
<h2>allowsColumnSelection</h2>
<div class='description'><p>Returns a Boolean value that indicates whether the receiver allows the user to select columns by clicking their headers.
</p></div>
<p class='prototype'><code>- (BOOL)allowsColumnSelection
</code></p>
<div class='in-out-vals'>
<p class='returns'><strong>Returns</strong> YES if the receiver allows the user to select columns by clicking their headers, otherwise NO.
</p>
</div>
<hr>
<div class='discussion'><p>The default is NO. You can select columns programmatically regardless of this setting.
</p></div>
<hr>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
</tr>
<tr class='first'>
<td rowspan='3'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='3'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#allowsColumnReordering.instance-method' class='stealth'>– allowsColumnReordering</a></code></td>
</tr>
<tr>
<td><code><a href='#selectColumn:byExtendingSelection:.instance-method' class='stealth'>– selectColumn:byExtendingSelection:</a></code></td>
</tr>
<tr>
<td><code><a href='#setAllowsColumnSelection:.instance-method' class='stealth'>– setAllowsColumnSelection:</a></code></td>
</tr>
</table>
</div>
<a name='allowsEmptySelection.instance-method'></a>
<div class='method'>
<h2>allowsEmptySelection</h2>
<div class='description'><p>Returns a Boolean value that indicates whether the receiver allows the user to select zero columns or rows.
</p></div>
<p class='prototype'><code>- (BOOL)allowsEmptySelection
</code></p>
<div class='in-out-vals'>
<p class='returns'><strong>Returns</strong> YES if the receiver allows the user to select zero columns or rows, otherwise NO.
</p>
</div>
<hr>
<div class='discussion'><p>The default is YES.
</p><p>You cannot set an empty selection programmatically if this setting is NO, unlike with the other settings that affect selection behavior.
</p></div>
<hr>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
</tr>
<tr class='first'>
<td rowspan='4'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='4'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#deselectAll:.instance-method' class='stealth'>– deselectAll:</a></code></td>
</tr>
<tr>
<td><code><a href='#deselectColumn:.instance-method' class='stealth'>– deselectColumn:</a></code></td>
</tr>
<tr>
<td><code><a href='#deselectRow:.instance-method' class='stealth'>– deselectRow:</a></code></td>
</tr>
<tr>
<td><code><a href='#setAllowsEmptySelection:.instance-method' class='stealth'>– setAllowsEmptySelection:</a></code></td>
</tr>
</table>
</div>
<a name='allowsMultipleSelection.instance-method'></a>
<div class='method'>
<h2>allowsMultipleSelection</h2>
<div class='description'><p>Returns a Boolean value that indicates whether the receiver allows the user to select more than one column or row at a time.
</p></div>
<p class='prototype'><code>- (BOOL)allowsMultipleSelection
</code></p>
<div class='in-out-vals'>
<p class='returns'><strong>Returns</strong> YES if the receiver allows the user to select more than one column or row at a time, otherwise NO.
</p>
</div>
<hr>
<div class='discussion'><p>The default is NO. You can select multiple columns or rows programmatically regardless of this setting.
</p></div>
<hr>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
</tr>
<tr class='first'>
<td rowspan='3'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='3'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#selectColumn:byExtendingSelection:.instance-method' class='stealth'>– selectColumn:byExtendingSelection:</a></code></td>
</tr>
<tr>
<td><code><a href='#selectRow:byExtendingSelection:.instance-method' class='stealth'>– selectRow:byExtendingSelection:</a></code></td>
</tr>
<tr>
<td><code><a href='#setAllowsMultipleSelection:.instance-method' class='stealth'>– setAllowsMultipleSelection:</a></code></td>
</tr>
</table>
</div>
<a name='allowsTypeSelect.instance-method'></a>
<div class='method'>
<h2>allowsTypeSelect</h2>
<div class='description'><p>Returns a Boolean value that indicates whether the receiver allows the user to type characters to select rows.
</p></div>
<p class='prototype'><code>- (BOOL)allowsTypeSelect
</code></p>
<div class='in-out-vals'>
<p class='returns'><strong>Returns</strong> YES if the receiver allows type selection, otherwise NO.
</p>
</div>
<hr>
<div class='discussion'><p>The default value is YES.
</p></div>
<hr>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
</tr>
<tr class='first'>
<td rowspan='1'>Mac OS X <strong>10.5</strong>+</td>
<td rowspan='1'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#setAllowsTypeSelect:.instance-method' class='stealth'>– setAllowsTypeSelect:</a></code></td>
</tr>
</table>
</div>
<a name='autosaveName.instance-method'></a>
<div class='method'>
<h2>autosaveName</h2>
<div class='description'><p>Returns the name under which table information is automatically saved.
</p></div>
<p class='prototype'><code>- (NSString *)autosaveName
</code></p>
<div class='in-out-vals'>
<p class='returns'><strong>Returns</strong> The name under which table information is automatically saved. If no name has been set, returns nil.
</p>
</div>
<hr>
<div class='discussion'><p>The table information is saved separately for each user and for each application that user uses.
</p><p>Note that even when a table view has an autosave name, it may not be saving table information automatically. To check whether table information is being saved automatically, use autosaveTableColumns.
</p></div>
<hr>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
</tr>
<tr class='first'>
<td rowspan='2'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='2'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#autosaveTableColumns.instance-method' class='stealth'>– autosaveTableColumns</a></code></td>
</tr>
<tr>
<td><code><a href='#setAutosaveName:.instance-method' class='stealth'>– setAutosaveName:</a></code></td>
</tr>
</table>
</div>
<a name='autosaveTableColumns.instance-method'></a>
<div class='method'>
<h2>autosaveTableColumns</h2>
<div class='description'><p>Returns a Boolean value that indicates whether the order and width of the receiver’s columns are automatically saved.
</p></div>
<p class='prototype'><code>- (BOOL)autosaveTableColumns
</code></p>
<hr>
<div class='discussion'><p>The table information is saved separately for each user and for each application that user uses. Note that if autosaveName returns nil, this setting is ignored and table information isn’t saved.
</p></div>
<hr>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
</tr>
<tr class='first'>
<td rowspan='3'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='3'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#autosaveName.instance-method' class='stealth'>– autosaveName</a></code></td>
</tr>
<tr>
<td><code><a href='#setAutosaveName:.instance-method' class='stealth'>– setAutosaveName:</a></code></td>
</tr>
<tr>
<td><code><a href='#setAutosaveTableColumns:.instance-method' class='stealth'>– setAutosaveTableColumns:</a></code></td>
</tr>
</table>
</div>
<a name='backgroundColor.instance-method'></a>
<div class='method'>
<h2>backgroundColor</h2>
<div class='description'><p>Returns the color used to draw the background of the receiver.
</p></div>
<p class='prototype'><code>- (NSColor *)backgroundColor
</code></p>
<div class='in-out-vals'>
<p class='returns'><strong>Returns</strong> The color used to draw the background of the receiver.
</p>
</div>
<hr>
<div class='discussion'><p>The default background color is light gray.
</p></div>
<hr>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
</tr>
<tr class='first'>
<td rowspan='1'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='1'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#setBackgroundColor:.instance-method' class='stealth'>– setBackgroundColor:</a></code></td>
</tr>
</table>
</div>
<a name='canDragRowsWithIndexes:atPoint:.instance-method'></a>
<div class='method'>
<h2>canDragRowsWithIndexes:atPoint:</h2>
<div class='description'><p>Returns whether the receiver allows dragging the rows at rowIndexes with a drag initiated at mousedDownPoint.
</p></div>
<p class='prototype'><code>- (BOOL)canDragRowsWithIndexes:(NSIndexSet *)rowIndexes atPoint:(NSPoint)mouseDownPoint
</code></p>
<hr>
<div class='discussion'><p>Return NO to disallow the drag.
</p></div>
<hr>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
</tr>
<tr class='first'>
<td rowspan='1'>Mac OS X <strong>10.4</strong>+</td>
<td rowspan='1'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
</tr>
</table>
</div>
<a name='clickedColumn.instance-method'></a>
<div class='method'>
<h2>clickedColumn</h2>
<div class='description'><p>Returns the index of the column the user clicked to trigger an action message.
</p></div>
<p class='prototype'><code>- (NSInteger)clickedColumn
</code></p>
<div class='in-out-vals'>
<p class='returns'><strong>Returns</strong> The index of the column the user clicked to trigger an action message. Returns –1 if the user clicked in an area of the table view not occupied by columns.
</p>
</div>
<hr>
<div class='discussion'><p>The return value of this method is meaningful only in the target’s implementation of the action or double-action method.
</p></div>
<hr>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
<th>Sample projects</th>
</tr>
<tr class='first'>
<td rowspan='3'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='3'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#clickedRow.instance-method' class='stealth'>– clickedRow</a></code></td>
<td><code><a href='#' class='stealth'>AnimatedTableView</a></code></td>
</tr>
<tr>
<td><code><a href='#setDoubleAction:.instance-method' class='stealth'>– setDoubleAction:</a></code></td>
<td><code><a href='#' class='stealth'>DragNDropOutlineView</a></code></td>
</tr>
<tr>
<td></td>
<td><code><a href='#' class='stealth'>PhotoSearch</a></code></td>
</tr>
</table>
</div>
<a name='clickedRow.instance-method'></a>
<div class='method'>
<h2>clickedRow</h2>
<div class='description'><p>Returns the index of the row the user clicked to trigger an action message.
</p></div>
<p class='prototype'><code>- (NSInteger)clickedRow
</code></p>
<div class='in-out-vals'>
<p class='returns'><strong>Returns</strong> The index of the row the user clicked to trigger an action message. Returns –1 if the user clicked in an area of the table view not occupied by table rows.
</p>
</div>
<hr>
<div class='discussion'><p>The return value of this method is meaningful only in the target’s implementation of the action or double-action method.
</p></div>
<hr>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
<th>Sample projects</th>
</tr>
<tr class='first'>
<td rowspan='4'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='4'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#clickedColumn.instance-method' class='stealth'>– clickedColumn</a></code></td>
<td><code><a href='#' class='stealth'>AnimatedTableView</a></code></td>
</tr>
<tr>
<td><code><a href='#setDoubleAction:.instance-method' class='stealth'>– setDoubleAction:</a></code></td>
<td><code><a href='#' class='stealth'>DragNDropOutlineView</a></code></td>
</tr>
<tr>
<td></td>
<td><code><a href='#' class='stealth'>PhotoSearch</a></code></td>
</tr>
<tr>
<td></td>
<td><code><a href='#' class='stealth'>WhackedTV</a></code></td>
</tr>
</table>
</div>
<a name='columnAtPoint:.instance-method'></a>
<div class='method'>
<h2>columnAtPoint:</h2>
<div class='description'><p>Returns the index of the column a given point lies in.
</p></div>
<p class='prototype'><code>- (NSInteger)columnAtPoint:(NSPoint)aPoint
</code></p>
<div class='in-out-vals'>
<p class='parameter'><strong>aPoint</strong> A point in the coordinate system of the receiver.
</p>
<p class='returns'><strong>Returns</strong> The index of the column aPoint lies in, or –1 if aPoint lies outside the receiver’s bounds.
</p>
</div>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
</tr>
<tr class='first'>
<td rowspan='1'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='1'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#rowAtPoint:.instance-method' class='stealth'>– rowAtPoint:</a></code></td>
</tr>
</table>
</div>
<a name='columnAutoresizingStyle.instance-method'></a>
<div class='method'>
<h2>columnAutoresizingStyle</h2>
<div class='description'><p>Returns the receiver’s column autoresizing style.
</p></div>
<p class='prototype'><code>- (NSTableViewColumnAutoresizingStyle)columnAutoresizingStyle
</code></p>
<div class='in-out-vals'>
<p class='returns'><strong>Returns</strong> The receiver’s column autoresizing style. For possible values, see “Autoresizing Styles.”
</p>
</div>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
</tr>
<tr class='first'>
<td rowspan='1'>Mac OS X <strong>10.4</strong>+</td>
<td rowspan='1'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#setColumnAutoresizingStyle:.instance-method' class='stealth'>– setColumnAutoresizingStyle:</a></code></td>
</tr>
</table>
</div>
<a name='columnIndexesInRect:.instance-method'></a>
<div class='method'>
<h2>columnIndexesInRect:</h2>
<div class='description'><p>Returns the indexes of the receiver’s columns that intersect the specified rectangle.
</p></div>
<p class='prototype'><code>- (NSIndexSet *)columnIndexesInRect:(NSRect)rect
</code></p>
<div class='in-out-vals'>
<p class='parameter'><strong>rect</strong> The rectangle in the receiver’s coordinate system to test for column enclosure.
</p>
<p class='returns'><strong>Returns</strong> New NSIndexSet object containing the indexes of the receiver’s columns that intersect with rect.
</p>
</div>
<hr>
<div class='discussion'><p>Columns that return YES for the NSTableColumn method isHidden are excluded from the results.
</p></div>
<hr>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
</tr>
<tr class='first'>
<td rowspan='1'>Mac OS X <strong>10.5</strong>+</td>
<td rowspan='1'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
</tr>
</table>
</div>
<a name='columnWithIdentifier:.instance-method'></a>
<div class='method'>
<h2>columnWithIdentifier:</h2>
<div class='description'><p>Returns the index of the first column in the receiver whose identifier is equal to a given identifier.
</p></div>
<p class='prototype'><code>- (NSInteger)columnWithIdentifier:(id)anObject
</code></p>
<div class='in-out-vals'>
<p class='parameter'><strong>anObject</strong> A column identifier.
</p>
<p class='returns'><strong>Returns</strong> The index of the first column in the receiver whose identifier is equal to anObject (when compared using isEqual:) or –1 if no columns are found with the specified identifier.
</p>
</div>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
</tr>
<tr class='first'>
<td rowspan='1'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='1'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#tableColumnWithIdentifier:.instance-method' class='stealth'>– tableColumnWithIdentifier:</a></code></td>
</tr>
</table>
</div>
<a name='cornerView.instance-method'></a>
<div class='method'>
<h2>cornerView</h2>
<div class='description'><p>Returns the view used to draw the area to the right of the column headers and above the vertical scroller of the enclosing scroll view.
</p></div>
<p class='prototype'><code>- (NSView *)cornerView
</code></p>
<div class='in-out-vals'>
<p class='returns'><strong>Returns</strong> The view used to draw the area to the right of the column headers and above the vertical scroller of the enclosing NSScrollView object.
</p>
</div>
<hr>
<div class='discussion'><p>This is by default a simple view that merely fills in its frame, but you can replace it with a custom view using setCornerView:.
</p></div>
<hr>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
</tr>
<tr class='first'>
<td rowspan='1'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='1'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#headerView.instance-method' class='stealth'>– headerView</a></code></td>
</tr>
</table>
</div>
<a name='dataSource.instance-method'></a>
<div class='method'>
<h2>dataSource</h2>
<div class='description'><p>Returns the object that provides the data displayed by the receiver.
</p></div>
<p class='prototype'><code>- (id < NSTableViewDataSource >)dataSource
</code></p>
<div class='in-out-vals'>
<p class='returns'><strong>Returns</strong> The object that provides the data displayed by the receiver.
</p>
</div>
<hr>
<div class='discussion'><p>See Using a Table Data Source and the NSTableDataSource informal protocol specification for more information.
</p></div>
<hr>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
<th>Sample projects</th>
</tr>
<tr class='first'>
<td rowspan='1'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='1'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#setDataSource:.instance-method' class='stealth'>– setDataSource:</a></code></td>
<td><code><a href='#' class='stealth'>CocoaAUHost</a></code></td>
</tr>
</table>
</div>
<a name='delegate.instance-method'></a>
<div class='method'>
<h2>delegate</h2>
<div class='description'><p>Returns the receiver’s delegate.
</p></div>
<p class='prototype'><code>- (id < NSTableViewDelegate >)delegate
</code></p>
<div class='in-out-vals'>
<p class='returns'><strong>Returns</strong> The receiver’s delegate.
</p>
</div>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
<th>Sample projects</th>
</tr>
<tr class='first'>
<td rowspan='2'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='2'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#setDelegate:.instance-method' class='stealth'>– setDelegate:</a></code></td>
<td><code><a href='#' class='stealth'>AnimatedTableView</a></code></td>
</tr>
<tr>
<td></td>
<td><code><a href='#' class='stealth'>People</a></code></td>
</tr>
</table>
</div>
<a name='deselectAll:.instance-method'></a>
<div class='method'>
<h2>deselectAll:</h2>
<div class='description'><p>Deselects all selected rows or columns if empty selection is allowed; otherwise does nothing.
</p></div>
<p class='prototype'><code>- (void)deselectAll:(id)sender
</code></p>
<div class='in-out-vals'>
<p class='parameter'><strong>sender</strong> Typically the object that sent the message.
</p>
</div>
<hr>
<div class='discussion'><p>Posts NSTableViewSelectionDidChangeNotification to the default notification center if the selection does in fact change.
</p><p>As a target-action method, deselectAll: checks with the delegate before changing the selection, using selectionShouldChangeInTableView:.
</p></div>
<hr>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
<th>Sample projects</th>
</tr>
<tr class='first'>
<td rowspan='4'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='4'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#allowsEmptySelection.instance-method' class='stealth'>– allowsEmptySelection</a></code></td>
<td><code><a href='#' class='stealth'>DragNDropOutlineView</a></code></td>
</tr>
<tr>
<td><code><a href='#selectAll:.instance-method' class='stealth'>– selectAll:</a></code></td>
<td><code><a href='#' class='stealth'>EnhancedAudioBurn</a></code></td>
</tr>
<tr>
<td><code><a href='#selectColumn:byExtendingSelection:.instance-method' class='stealth'>– selectColumn:byExtendingSelection:</a></code></td>
<td><code><a href='#' class='stealth'>EnhancedDataBurn</a></code></td>
</tr>
<tr>
<td></td>
<td><code><a href='#' class='stealth'>QTKitMovieShuffler</a></code></td>
</tr>
</table>
</div>
<a name='deselectColumn:.instance-method'></a>
<div class='method'>
<h2>deselectColumn:</h2>
<div class='description'><p>Deselects the column at a given index if it’s selected.
</p></div>
<p class='prototype'><code>- (void)deselectColumn:(NSInteger)columnIndex
</code></p>
<div class='in-out-vals'>
<p class='parameter'><strong>columnIndex</strong> The index of the column to deselect.
</p>
</div>
<hr>
<div class='discussion'><p>Deselects the column at columnIndex if it’s selected, regardless of whether empty selection is allowed.
</p><p>If the selection does in fact change, posts NSTableViewSelectionDidChangeNotification to the default notification center.
</p><p>If the indicated column was the last column selected by the user, the column nearest it effectively becomes the last selected column. In case of a tie, priority is given to the column on the left.
</p><p>This method doesn’t check with the delegate before changing the selection.
</p></div>
<hr>
<table class='info'>
<tr>
<th>Available in</th>
<th>Declared in</th>
<th>See also</th>
</tr>
<tr class='first'>
<td rowspan='3'>Mac OS X <strong>10.0</strong>+</td>
<td rowspan='3'><code><a href='#' class='stealth'>NSTableView.h</a></code></td>
<td><code><a href='#allowsEmptySelection.instance-method' class='stealth'>– allowsEmptySelection</a></code></td>
</tr>
<tr>
<td><code><a href='#selectRow:byExtendingSelection:.instance-method' class='stealth'>– selectRow:byExtendingSelection:</a></code></td>
</tr>
<tr>
<td><code><a href='#selectedColumn.instance-method' class='stealth'>– selectedColumn</a></code></td>
</tr>
</table>
</div>