I use scrollview and implement the delegate method.
-(void) scrollViewWillEndDragging:(UIScrollView *)scrollView withVelocity:(CGPoint)velocity targetContentOffset:(CGPoint *)targetContentOffset{
CGPoint p = *targetContentOffset;
int counter = [self counterForPosition:p];
*targetContentOffset=[self positionForCounter:counter];;
self.month=counter-2;
}
I get a warning from Xcode. Conflicting distributed object modifiers by parameter type in the implementation of 'scrollViewWillEndDragging: withVelocity: targetContentOffset:'
I found some hints that I donβt quite understand and does not solve the problem.
Does the Singleton release method generate a warning?
Now this is just a warning and nothing will work. I think this is my personal OCD that I want to fix.
Th
source
share