A WIP iOS app for Mastodon and Pleroma.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GMAlbumsViewController.h 1.1KB

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // GMAlbumsViewController.h
  3. // GMPhotoPicker
  4. //
  5. // Created by Guillermo Muntaner Perelló on 19/09/14.
  6. // Copyright (c) 2014 Guillermo Muntaner Perelló. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. // Measuring IOS8 Photos APP at @2x (iPhone5s):
  10. // The rows are 180px/90pts
  11. // Left image border is 21px/10.5pts
  12. // Separation between image and text is 42px/21pts (double the previouse one)
  13. // The bigger image measures 139px/69.5pts including 1px/0.5pts white border.
  14. // The second image measures 131px/65.6pts including 1px/0.5pts white border. Only 3px/1.5pts visible
  15. // The third image measures 123px/61.5pts including 1px/0.5pts white border. Only 3px/1.5pts visible
  16. static int kAlbumRowHeight = 90;
  17. static int kAlbumLeftToImageSpace = 10;
  18. static int kAlbumImageToTextSpace = 21;
  19. static float const kAlbumGradientHeight = 20.0f;
  20. static CGSize const kAlbumThumbnailSize1 = {70.0f , 70.0f};
  21. static CGSize const kAlbumThumbnailSize2 = {66.0f , 66.0f};
  22. static CGSize const kAlbumThumbnailSize3 = {62.0f , 62.0f};
  23. @interface GMAlbumsViewController : UITableViewController
  24. - (void)selectAllAlbumsCell;
  25. @end