ios - how to set an animation for all UIImageView instances by default -


i want write a (only one) method or category or else animation,

so when setting uiimageview's image property, animation executed automatically.

any idea? thanks.

  1. you can subclass uiimageview.
  2. add animationproperty.
  3. create animation block.
  4. call animation block setmethod of animationproperty.

Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -