Skip to content

Commit

Permalink
- remove NSLog
Browse files Browse the repository at this point in the history
  • Loading branch information
uzysjung committed May 9, 2014
1 parent 8100665 commit a02f43a
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ - (id)initWithProgressImages:(NSArray *)progressImg LoadingImages:(NSArray *)loa
threshold = initialPulltoRefreshThreshold;
}
UIImage *image1 = progressImg.firstObject;
NSLog(@"image1 size %@ scale %f",NSStringFromCGSize(image1.size),image1.scale);
// NSLog(@"image1 size %@ scale %f",NSStringFromCGSize(image1.size),image1.scale);
self = [super initWithFrame:CGRectMake(0, -image1.size.height, image1.size.width, image1.size.height)];
if(self) {
self.pImgArrProgress = progressImg;
Expand All @@ -61,7 +61,7 @@ - (void)_commonInit
self.imageViewProgress.backgroundColor = [UIColor clearColor];
// self.imageViewProgress.layer.borderWidth = 1;
[self addSubview:self.imageViewProgress];
NSLog(@"frame %@ imgViewProgress frame %@ ",NSStringFromCGRect(self.frame),NSStringFromCGRect(self.imageViewProgress.frame));
// NSLog(@"frame %@ imgViewProgress frame %@ ",NSStringFromCGRect(self.frame),NSStringFromCGRect(self.imageViewProgress.frame));

if(self.pImgArrLoading==nil)
{
Expand All @@ -74,8 +74,8 @@ - (void)_commonInit
else
{
NSAssert([self.pImgArrLoading.lastObject isKindOfClass:[UIImage class]], @"pImgArrLoading Array has object that is not image");
UIImage *imgf =[self.pImgArrLoading firstObject];
NSLog(@"image Size %@",NSStringFromCGSize(imgf.size));
// UIImage *imgf =[self.pImgArrLoading firstObject];
// NSLog(@"image Size %@",NSStringFromCGSize(imgf.size));
self.imageViewLoading = [[UIImageView alloc] initWithImage:[self.pImgArrLoading firstObject]];
self.imageViewLoading.contentMode = UIViewContentModeScaleAspectFit;
self.imageViewLoading.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight ;
Expand Down Expand Up @@ -197,13 +197,13 @@ - (void)scrollViewDidScroll:(CGPoint)contentOffset
}
case UZYSGIFPullToRefreshStateTriggering: //progress
{
NSLog(@"trigering");
// NSLog(@"trigering");
if(self.progress >= 1.0)
self.state = UZYSGIFPullToRefreshStateTriggered;
}
break;
case UZYSGIFPullToRefreshStateTriggered: //fire actionhandler
NSLog(@"trigered");
// NSLog(@"trigered");
if(self.scrollView.tracking == NO && prevProgress > 0.98)
{
[self actionTriggeredState];
Expand Down

0 comments on commit a02f43a

Please sign in to comment.