SampleFileInfo.h 581 B

1234567891011121314151617181920
  1. #import <Foundation/Foundation.h>
  2. #import "SVGKSource.h"
  3. @interface SampleFileInfo : NSObject
  4. @property(nonatomic,strong) NSString* author, * licenseType, * name;
  5. @property(nonatomic, assign) BOOL requiresLayeredImageView;
  6. @property(weak, nonatomic,readonly) SVGKSource* source;
  7. -(SVGKSource*) sourceFromWeb;
  8. -(SVGKSource*) sourceFromLocalFile;
  9. -(NSString*) savedBitmapFilename;
  10. +(SampleFileInfo*) sampleFileInfoWithFilename:(NSString*) f;
  11. +(SampleFileInfo*) sampleFileInfoWithURL:(NSURL*) s;
  12. +(SampleFileInfo*) sampleFileInfoWithFilename:(NSString*) f URL:(NSURL*) s;
  13. @end