UIImage+Private.h 987 B

12345678910111213141516171819202122232425262728293031
  1. #import <MobileIcons/MobileIcons.h>
  2. #include <sys/cdefs.h>
  3. @class LSApplicationProxy;
  4. __BEGIN_DECLS
  5. UIImage *_UIImageWithName(NSString *name);
  6. __END_DECLS
  7. @interface UIImage (Private)
  8. + (instancetype)kitImageNamed:(NSString *)name;
  9. + (instancetype)imageNamed:(NSString *)name inBundle:(NSBundle *)bundle;
  10. + (instancetype)imageWithContentsOfCPBitmapFile:(NSString *)filename flags:(NSInteger)flags; // TODO: make this an enum
  11. + (instancetype)_applicationIconImageForBundleIdentifier:(NSString *)bundleIdentifier format:(MIIconVariant)format scale:(CGFloat)scale;
  12. + (instancetype)_iconForResourceProxy:(LSApplicationProxy *)applicationProxy format:(MIIconVariant)format;
  13. - (instancetype)_applicationIconImageForFormat:(MIIconVariant)format precomposed:(BOOL)precomposed scale:(CGFloat)scale;
  14. - (instancetype)_flatImageWithColor:(UIColor *)color;
  15. - (BOOL)writeToCPBitmapFile:(NSString *)filename flags:(NSInteger)flags; // TODO: make this an enum
  16. @property CGFloat scale;
  17. @end