Search Results

Search found 2 results on 1 pages for 'reduxdj'.

Page 1/1 | 1 

  • Key Coder/Observer example for Iphone

    - by ReduxDJ
    I'm trying to implement KVO into an application, yet, I've followed the documentation provided by Apple, however I can't get it to work. I'm hoping to see a bare minimal example of how to use this with my NSObjects. My use case, is I want one item in a table-cell to update without loading the entire data in a tableView because I am loading images from URLs and I don't want to reload all of the image, while I am polling a server. Thanks,

    Read the article

  • How to control overlapping Alpha fades on iPhone...

    - by ReduxDJ
    I have two animation methods, basically the just repeat... How do I prevent them from overlapping and flickering, is there a convenient way to do this? Thanks, -(void) doPowerChangeAnimUp { powerIconChange .alpha = 0; [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDidStopSelector:@selector(animationDidStop:)]; [UIView setAnimationDelegate:self] ; [UIView setAnimationDuration:2]; [powerIconChange setAlpha:1]; [UIView commitAnimations]; } -(void)animationDidStop:(NSString *)animationID { [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDelegate:self] ; [UIView setAnimationDidStopSelector:@selector(doPowerChangeAnimUp)]; [UIView setAnimationDuration:2]; [powerIconChange setAlpha:0]; [UIView commitAnimations]; }

    Read the article

1