Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #import <Foundation/Foundation.h>
- #define ISBannerSize_BANNER [[ISBannerSize alloc] initWithDescription:@"BANNER"]
- #define ISBannerSize_LARGE [[ISBannerSize alloc] initWithDescription:@"LARGE"]
- #define ISBannerSize_RECTANGLE [[ISBannerSize alloc] initWithDescription:@"RECTANGLE"]
- #define ISBannerSize_SMART [[ISBannerSize alloc] initWithDescription:@"SMART"]
- @interface ISBannerSize : NSObject
- - (instancetype)initWithWidth:(NSInteger)width andHeight:(NSInteger)height;
- - (instancetype)initWithDescription:(NSString *)description;
- @property (readonly) NSString* sizeDescription;
- @property (readonly) NSInteger width;
- @property (readonly) NSInteger height;
- @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement