Created
June 16, 2011 23:54
-
-
Save jdewind/1030600 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@implementation MySlider | |
@synthesize requestModel; | |
@synthesize percent; | |
- (id)init { | |
if((self = [super init])) { | |
[requestModel bindProperty:@"percent" onTarget:self toKeyPath:@"percentUploaded"]; | |
} | |
return self; | |
} | |
- (void)dealloc { | |
[requestModel unBindProperty:@"percent" onTarget:self toKeyPath:@"percentUploaded"]; | |
[requestModel release]; | |
[super dealloc]; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment