FlowCover - draw images onto the screen for the first time
I would like to kno开发者_开发百科w how to make the FlowCoverView be drawn when I want it to (after images are obtained). http://www.chaosinmotion.com/flowcover.m
I have tried [FlowCoverView draw] but that gives me an error.
Thanks
I needed to dynamically update the flowcover so I created a redraw method in FlowCoverView and then call it from the view controller when the data source changes.
- (void)redraw {
[cache emptyCache];
[self setNeedsDisplay];
[self draw];
}
Create an IBOutlet in your controller for the FlowCoverView in your nib file and connect them. Then call [self.flowCoverView draw] when you want to refresh the view.
加载中,请稍侯......
精彩评论