forked from joshaber/JAListView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJAObjectListView.h
37 lines (27 loc) · 1.16 KB
/
JAObjectListView.h
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
//
// JAObjectListView.h
// JAListView
//
// Created by Josh Abernathy on 12/6/10.
// Copyright 2010 Maybe Apps. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "JASectionedListView.h"
@class JAObjectListViewItem;
@interface JAObjectListView : JASectionedListView <JASectionedListViewDataSource> {}
- (void)addListViewItem:(JAObjectListViewItem *)view inSection:(NSUInteger)section atIndex:(NSUInteger)index;
- (void)addListViewItem:(JAObjectListViewItem *)view inSection:(NSUInteger)section;
- (void)removeListViewItemInSection:(NSUInteger)section atIndex:(NSUInteger)index;
- (void)addListViewItem:(JAObjectListViewItem *)view forHeaderForSection:(NSUInteger)section;
- (void)removeListViewItemForHeaderForSection:(NSUInteger)section;
- (void)removeListViewItem:(JAListViewItem *)view;
- (void)removeAllListViewItems;
- (NSArray *)viewsInSection:(NSUInteger)section;
- (NSUInteger)numberOfSections;
- (JAListViewItem *)headerForSection:(NSUInteger)section;
- (JAObjectListViewItem *)viewItemForObject:(id)object;
- (NSIndexPath *)indexPathForObject:(id)object;
- (void)removeListViewItemForObject:(id)object;
- (NSArray *)allObjects;
- (NSString *)debugString;
@end