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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -