iphone - Objective-C extension syntax -
the above answer here.
my question :
the suggested code seems working expected. problem xcode issues warning against statement pointed red arrow. warning :
instance method '-scrollviewdidscroll' not found (return type defaults 'id')
another issue '-scrollviewdidscroll' returns "void" , not 'id' compiler assumes.
wish rid of warning , let compiler know return type "void".
hope ...
self.delegate
should declared id<uiscrollviewdelegate>
instance.
Comments
Post a Comment