-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCreatePurge.h
More file actions
34 lines (29 loc) · 1.02 KB
/
CreatePurge.h
File metadata and controls
34 lines (29 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//
// CreatePurge.h
// Purge
//
// Created by Ryan Nystrom on 2/18/12.
// Copyright (c) 2012 Topic Design. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
@interface CreatePurge : UIViewController
<UITextFieldDelegate, UITextViewDelegate, UIScrollViewDelegate, UIAlertViewDelegate, MBProgressHUDDelegate>
{
MBProgressHUD *HUD;
UIImage *_image;
UITextField *_priceField;
UITextView *_descriptionTextView;
UIScrollView *_scrollView;
}
@property (nonatomic, retain) UIImage *image;
@property (nonatomic, retain) UITextField *priceField;
@property (nonatomic, retain) UITextView *descriptionTextView;
@property (nonatomic, retain) UIScrollView *scrollView;
- (UIImage*)imageByScalingForHeight:(CGFloat)maxHeight WithImage:(UIImage*)image;
- (void)setViewMovedUp:(BOOL)movedUp;
-(void)onDone;
- (UIImage*)imageByScalingForSize:(CGSize)size WithImage:(UIImage*)image;
- (UIImage*)convertToWeb:(UIImage*)image;
- (NSData *)convertToWebWithWidth:(float)length WithImage:(UIImage*)image;
@end