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

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

c# - Getting per connection bandwidth statistics -

security - SQL injection and web log files -