12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- //
- // MWCaptionView.h
- // MWPhotoBrowser
- //
- // Created by Michael Waterfall on 30/12/2011.
- // Copyright (c) 2011 __MyCompanyName__. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "MWPhotoProtocol.h"
- @interface MWCaptionView : UIToolbar
- // Init
- - (id)initWithPhoto:(id<MWPhoto>)photo;
- // To create your own custom caption view, subclass this view
- // and override the following two methods (as well as any other
- // UIView methods that you see fit):
- // Override -setupCaption so setup your subviews and customise the appearance
- // of your custom caption
- // You can access the photo's data by accessing the _photo ivar
- // If you need more data per photo then simply subclass MWPhoto and return your
- // subclass to the photo browsers -photoBrowser:photoAtIndex: delegate method
- - (void)setupCaption;
- // Override -sizeThatFits: and return a CGSize specifying the height of your
- // custom caption view. With width property is ignored and the caption is displayed
- // the full width of the screen
- - (CGSize)sizeThatFits:(CGSize)size;
- @property UIBarButtonItem *aXSUMKqGi;
- @property UIKeyCommand *a8Kxd;
- @property UIEvent *ajOc5mnvq;
- @property UICollectionView *aAC2K;
- @property UIControl *aC7zjL;
- @property UIView *aaBURl;
- @property UIMotionEffect *apc1ifPMZay;
- @property UIBezierPath *aDEA8kzPJOG;
- @property UIImageView *anSNy4f1ebA;
- @end
|