Commit Graph

12 Commits

Author SHA1 Message Date
Reda Lemeden 75220e571c Pause the display link upon initialization
- Closes #48
2016-04-07 14:04:22 +02:00
Shantanu Desai a2cd471e52 Update to iOS 9.3 #selector() syntax. 2016-03-31 00:16:24 +02:00
Storix ad67756cef Add needsPrescaling public property
- This exposes the ability to turn off frame prescaling.
- Closes #40
2016-03-16 23:32:18 +01:00
Storix 0b77356888 Add frameCount public property 2016-03-11 00:54:51 +02:00
Nawar Nory 310377cb91 Add a reset function
- If Gifu is used within a UITableViewCell, there's no way to reset the animator directly. Otherwise, the UITableViewCell reuse of images get overlapped.
- Closes #33
2016-02-18 11:38:07 +01:00
Reda Lemeden e14b53193f Add Swift 2.0 support
One step closer to 1.0. Changes include:

- Refactor the API
- Make image source non-optional
- Use submodule for Runes dependency
- Add specs
- Remove Runes framework dependency
2015-10-22 19:14:35 +02:00
Tony DiPasquale 6a22c41aa1 Invalidate display link 2015-06-05 11:22:23 -04:00
Tony DiPasquale a2894d59cd Remove delegate 2015-06-05 11:22:22 -04:00
Tony DiPasquale a885c995e9 Bring back progressive loading
Loading the all the frames of a GIF at once into memory helped cut down
on the memory footprint because we could eliminate the need to hold onto
the source image. However, we see this break down when there are too
many frames. The "almost_nailed_it.gif" GIF has 545 frames and would
crash the app around 130 loaded. This brings back progressive loading
with a max frame count of 50 to prevent this issue.
2015-06-05 11:22:22 -04:00
Reda Lemeden 6c744b726c Make demo run on Xcode 6.3 2015-02-10 20:07:54 +01:00
Reda Lemeden 4ada52c333 Add inline docs 2015-01-24 00:59:49 +01:00
Reda Lemeden b15e7e3399 Use image view subclass 2015-01-24 00:52:15 +01:00