|
//
// LSPagesPresentationView.h
// ViewSwitcher
//
// Created by Le Son on 5/24/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "CALayer+Extra.h"
#import "NSArray+Extra.h"
@class CloseButtonLayer;
@class LSPageViewController;
@class LSDotLayer;
@interface LSPagesPresentationView : UIView {
NSMutableArray *pagesLayers;
LSPageViewController *pageViewController;
NSInteger selectedIndex;
CALayer *contentContainerLayer;
CATextLayer *nameLayer;
LSDotLayer *dotLayer;
NSMutableDictionary *extraTouchInfo;
id delegate;
}
@property (nonatomic, assign) LSPageViewController *pageViewController;
@property NSInteger selectedIndex;
@property (assign) id delegate;
- (id)initWithFrame:(CGRect)frame layers:(NSArray *)layers;
- (void)setup;
- (void)startEntranceAnimation;
- (void)zoomCurrentLayerForEnding;
- (void)addNewLayer:(CALayer *)layer;
- (void)insertLayer:(CALayer *)layer atIndex:(NSInteger)index;
- (void)removeLayerAtIndex:(int)index;
- (void)respondToOrientationChange:(CGRect)frame;
@end
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I'm a 16 year old high school student. I know some about Objective-C and a bit about C#, mostly through reading stuff online.