Michael Schneider
2e316954d8
Fix overlapping accesses to image container
2018-05-09 16:48:00 +01:00
Michele Gruppioni
fefa984414
Add tvOS Target
2018-03-06 07:53:08 +01:00
Reda Lemeden
93fbfb0928
Fix typo
2018-01-01 21:12:40 +01:00
Reda Lemeden
0991ad36d8
Add completion handlers to all animate methods
2018-01-01 21:12:33 +01:00
Shubham
693dbc9eb4
Support loading remote GIFs
...
- Closes #111
2017-10-01 00:59:05 +02:00
Reda Lemeden
6d19f73aad
Fix typo
2017-09-30 23:12:14 +02:00
Reda Lemeden
50a9851d55
Update to Swift 4 and Xcode 9
2017-07-03 00:19:42 +02:00
miqdad
ce5d0a4414
silence xcode 8.3 warning
2017-04-04 11:34:42 +02:00
Reda Lemeden
439cc1e5c5
Bump to v2.0
2017-01-05 01:19:12 +01:00
Nick Toumpelis
18a12996b8
Minor typo fix ( #94 )
2016-12-16 11:40:28 +01:00
stepajin
5f1f686eaa
Add loop control ( #89 )
...
* Add loop duration property
* Add loop count control
2016-11-13 23:46:53 +01:00
Reda Lemeden
3bede018a9
Use Bitrise instead of Travis ( #92 )
2016-11-02 02:14:02 +01:00
Reda Lemeden
e029225c05
Improve configurability of the animator
2016-10-09 18:12:29 +02:00
Reda Lemeden
cf797e8dbf
Remove unecessary imports
2016-10-08 19:52:16 +02:00
Reda Lemeden
0fe1fc5cec
Drop image property requirement
2016-10-08 19:51:54 +02:00
Reda Lemeden
3ac44fe7a9
Update README and check-in docs
...
- Closes #79
2016-10-06 23:59:14 +02:00
Reda Lemeden
22397e9474
Use computed variables when possible
2016-10-06 23:59:14 +02:00
Reda Lemeden
b5c553bba2
Reorganize project using Synx
2016-10-06 23:59:14 +02:00
Reda Lemeden
97f004413f
Add ability to swap images in the demo
2016-10-06 23:59:14 +02:00
Reda Lemeden
4f4388e364
Rewrite the API to use protocols
...
- Closes #69
- Closes #61
- Closes #22
2016-10-06 23:59:14 +02:00
Reda Lemeden
d2e34a067d
Add intrinsicContentSize to image view
2016-10-06 23:59:14 +02:00
Reda Lemeden
d9c474d553
Make pre-scaling off by default
2016-10-06 23:59:14 +02:00
Reda Lemeden
b3f560f190
Update source to Swift 3.0 and Xcode 8
...
- Closes #78
- Closes #75
2016-10-06 23:59:14 +02:00
Reda Lemeden
130eb0ee63
Bump to v1.2.1
2016-05-28 20:41:37 +02:00
Daniel Farrelly
79f01b02ad
Fix crash when frames not preloaded in time.
2016-05-27 13:07:25 +10:00
Reda Lemeden
aa2e6a11c5
Fix borked frame preloading
2016-05-01 23:03:11 +02:00
Reda Lemeden
47ef2e2008
Remove Runes dependency
...
- Closes #45
2016-04-25 00:42:11 +02:00
Matthew Seiler
aa6e103e42
Conditionally invalidate displayLink
...
Don't invalidate the CADisplayLink on deinit unless the lazy display
link instance was already initialized previously.
- Closes #53
- Closes #54
2016-04-11 00:32:25 +02:00
Matthew Seiler
367144ac1f
Use proxy object to prevent strong reference cycle
...
- Closes #55
- Closes #12
2016-04-10 21:59:11 +02:00
Reda Lemeden
75220e571c
Pause the display link upon initialization
...
- Closes #48
2016-04-07 14:04:22 +02:00
Reda Lemeden
91ba7459cb
Update for Swift 2.2
2016-03-31 00:16:29 +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
393bf3a134
Add version bump script
2016-01-20 12:21:45 +00:00
Reda Lemeden
da3b117b40
Bump to 1.0.0
2015-12-02 23:39:51 +01:00
Reda Lemeden
46d0a84f66
Remove unused monadic extensions
2015-12-02 22:38:05 +01:00
Reda Lemeden
ce384ae22a
Fix array index out of range bug
...
Closes #25
2015-10-22 20:49:31 +02: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
e979c72bf8
Bump version to 0.10.0
2015-06-05 11:25:14 -04:00
Tony DiPasquale
b3da34a186
Add a second index to track preload position
...
Using one index was causing the end of gifs to be cut off if the number
of frames wasn't a multiple of the preload size. This creates a second
index to track the preload position and the display frame position.
2015-06-05 11:22:23 -04: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
Tony DiPasquale
e44b739508
Bump version to 0.9.1
2015-04-24 16:38:30 -04:00
Tony DiPasquale
ccf049f87a
Resize the GIF with aspect ratio
...
We can use the contentMode of the UIImageView to resize the GIF keeping
the aspect ratio if the content mode is set to do so.
2015-04-24 16:38:30 -04:00
Tony DiPasquale
a9963e3b01
Add aspect fill and fit as separate functions
2015-04-23 18:30:57 -04:00
Tony DiPasquale
f57f725147
Resize image keeping aspect ratio
2015-04-23 18:15:19 -04:00
Tony DiPasquale
064712bb8f
Update to Swift 1.2 compatibility
2015-04-17 11:12:00 -04:00