I'm using a scrollview, and implementing a delegate method.
-(void) scrollViewWillEndDragging:(UIScrollView *)scrollView withVelocity:(CGPoint)velocity targetContentOffset:(CGPoint *)targetContentOffset{
CGPoint p = *targetContentOffset;
int counter = [self counterForPosition:p];
*targetContentOffset=[self positionForCounter:counter];;
//load month -2;
self.month=counter-2;
}
I get a warning by Xcode. Conflicting distributed object modifiers on parameter type in implementation of 'scrollViewWillEndDragging:withVelocity:targetContentOffset:'
I've found some hints, that I do not fully understand, and does not solve my issue. Singleton release method produces warning?
Now it's just a warning, and nothing crashes. I think it's my personal OCD that I want to fix this.
Tx