SGCoverFlowView |
Displays images along with small descriptions in a manner that resembles Apple's cover flow.
Superclass: UIView
Declared In: SGCoverFlowView.h
This view recieves its data from addAlbum: . All albums that are added to the view must conform to
To recieves a notificaiton when an album is selected within the view, you must add a delegate that conforms to SGCoverFlowViewDelegate .
The sliderBar is exposed to allow customization. The current bar is set to the default style. The cover flow view will only display 6 albums at a time, applying the proper transformations.
Adds an album to the cover flow view.
Adds an array of albums to the cover flow view.
Initializes a new cover flow view.
Removes an album from the cover flow view.
 Removes all albums contained in the cover flow view.
addAlbum: |
Adds an album to the cover flow view.
- (void) addAlbum:(id<SGAlbum>)album;
album
The album to add.
addAlbums: |
Adds an array of albums to the cover flow view.
- (void) addAlbums:(NSArray*)albums;
albums
The array to add to the view.
initWithFrame:maximumAlbums: |
Initializes a new cover flow view.
- (id) initWithFrame:(CGRect)frame maximumAlbums:(NSInteger)albumAmount;
frame
The frame of the view.
albumAmount
The maximum amount of albums to display at one time.
The cover flow view.
removeAlbum: |
Removes an album from the cover flow view.
- (void) removeAlbum:(id<SGAlbum>)album;
album
The album to remove.
removeAllAlbums |
 Removes all albums contained in the cover flow view.
- (void) removeAllAlbums;
The amount of albums the SGCoverFlowView can contain.
The close button that is in charge of removing the view.
The delegate that is notified when a user selects an album.
The slider bar that affects which cover is centered within the view.
The label that is located directly under the title label.
The label that is located directly under the cover.
amountOfViews |
The amount of albums the SGCoverFlowView can contain.
@property ( nonatomic, assign) NSInteger amountOfViews;
closeButton |
The close button that is in charge of removing the view.
@property ( nonatomic, readonly) UIButton* closeButton;
delegate |
The delegate that is notified when a user selects an album.
@property ( nonatomic, assign) id<SGCoverFlowViewDelegate> delegate;
sliderBar |
The slider bar that affects which cover is centered within the view.
@property ( nonatomic, readonly) UISlider* sliderBar;
subtitleLabel |
The label that is located directly under the title label.
@property ( nonatomic, readonly) UILabel* subtitleLabel;
titleLabel |
The label that is located directly under the cover.
@property ( nonatomic, readonly) UILabel* titleLabel;
© SimpleGeo Last Updated: 03/31/2010