iphone - Objective-C extension syntax -


enter image description here

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

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -