Vita CoverFlowVita CoverFlow is an image view control that looks like Apple's Cover Flow. It uses OpenGL ES framework to increase performance. The control is able to operate in Portrait and Landscape modes. Control usage is pretty simple. The following CoverFlowView properties affect the appearance: Enable/disable reflections in Landscape mode: @property (nonatomic) BOOL reflectionsEnabled;Bottom alignment in Landscape mode: @property (nonatomic) BOOL allignBottom; Portrait/Landscape mode switching: @property (nonatomic) BOOL vertical; CoverFlowView uses CoverFlowViewDelegate to obtain the total number of images, images and handling image selection.
@protocol CoverFlowViewDelegate //Total number of images: - (int)numberOfImages:(CoverFlowView *)view;
//Get an image: - (UIImage *)coverFlow:(CoverFlowView *)view image:(int)cover;
//Image selection handling: - (void)coverFlow:(CoverFlowView *)view didSelect:(int)cover; @end |  | | |
|