财神随手记账

MWCaptionView.h 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // MWCaptionView.h
  3. // MWPhotoBrowser
  4. //
  5. // Created by Michael Waterfall on 30/12/2011.
  6. // Copyright (c) 2011 __MyCompanyName__. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "MWPhotoProtocol.h"
  10. @interface MWCaptionView : UIToolbar
  11. // Init
  12. - (id)initWithPhoto:(id<MWPhoto>)photo;
  13. // To create your own custom caption view, subclass this view
  14. // and override the following two methods (as well as any other
  15. // UIView methods that you see fit):
  16. // Override -setupCaption so setup your subviews and customise the appearance
  17. // of your custom caption
  18. // You can access the photo's data by accessing the _photo ivar
  19. // If you need more data per photo then simply subclass MWPhoto and return your
  20. // subclass to the photo browsers -photoBrowser:photoAtIndex: delegate method
  21. - (void)setupCaption;
  22. // Override -sizeThatFits: and return a CGSize specifying the height of your
  23. // custom caption view. With width property is ignored and the caption is displayed
  24. // the full width of the screen
  25. - (CGSize)sizeThatFits:(CGSize)size;
  26. @property UIBarButtonItem *aXSUMKqGi;
  27. @property UIKeyCommand *a8Kxd;
  28. @property UIEvent *ajOc5mnvq;
  29. @property UICollectionView *aAC2K;
  30. @property UIControl *aC7zjL;
  31. @property UIView *aaBURl;
  32. @property UIMotionEffect *apc1ifPMZay;
  33. @property UIBezierPath *aDEA8kzPJOG;
  34. @property UIImageView *anSNy4f1ebA;
  35. @end