forked from jerrykrinock/ClassesObjC
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAMCollectionViewItem.h
More file actions
38 lines (26 loc) · 795 Bytes
/
AMCollectionViewItem.h
File metadata and controls
38 lines (26 loc) · 795 Bytes
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
//
// AMCollectionViewItem.h
// AMCollectionViewTest
//
// Created by Andreas on 20.11.07.
// Copyright 2007 Andreas Mayer. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class AMCollectionView;
@interface AMCollectionViewItem : NSObject <NSCoding> {
IBOutlet AMCollectionView *collectionView; // weak reference
IBOutlet NSView *view;
id representedObject;
BOOL selected;
}
- (id)initWithCollectionView:(AMCollectionView *)theCollectionView representedObject:(id)theObject;
- (void)removeFromCollectionView;
- (AMCollectionView *)collectionView;
- (void)setCollectionView:(AMCollectionView *)value;
- (id)representedObject;
- (void)setRepresentedObject:(id)value;
- (NSView *)view;
- (void)setView:(NSView *)value;
- (BOOL)isSelected;
- (void)setSelected:(BOOL)value;
@end