DreamPiggy
aa3d2225db
Update the example with toggle animation button
2019-11-05 20:50:13 +08:00
DreamPiggy
4ba92b6749
Update the example with HEIC coder, this can be used to investigate future performance enhancement from Apple
2019-09-27 11:44:09 +08:00
DreamPiggy
9b8712e04b
Add HEICCoder (HEIF naming is taken by SDWebImageHEIFCoder repo), supports animated HEICS format as well
2019-09-22 15:05:30 +08:00
DreamPiggy
6ba2640ca4
Update the storyboard with Xcode 10.2 version format
2019-07-02 18:20:12 +08:00
DreamPiggy
2357dabc17
Fix the Demo WebP coder import issue when enable modular headers
2019-06-03 17:53:00 +08:00
DreamPiggy
c66f5c90ef
Replace the unavailable Demo test images with the new images from Kodak site
2019-05-29 15:12:14 +08:00
Bogdan Poplauschi
edb9c45859
Xcode 10 - upgraded schemes, using xcode10 Travis image, removed some deprecated methods from our demos + formatting
...
Using xcconfig files - easier to maintain all the settings appart from target files, less conflicts, can reuse the values
2018-11-11 20:19:33 -06:00
Bogdan Poplauschi
64123734c3
Move webp component (and libwebp dependency) to SDWebImage/SDWebImageWebPCoder
...
- move the webp component + the libwebp dependency to SDWebImage/SDWebImageWebPCoder (including tests and demo)
- Xcode 9.4
- instead of directly linking the Demos to the frameworks, using CocoaPods (`Examples/Podfile`). This allows using SDWebImage/SDWebImageWebPCoder into our examples so we keep the WebP demos
- demos code cleanup and warnings resolved
- all links from docs (README, Migration guide, CHANGELOG) are full links, so they work even from external pages (i.e. https://cocoapods.org/pods/SDWebImage ).
- added "Additional modules" section to README
2018-09-07 12:40:25 +03:00
DreamPiggy
3cd71e09ce
Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
...
# Conflicts:
# SDWebImage/NSData+ImageContentType.h
# SDWebImage/SDWebImageDownloader.m
# SDWebImage/SDWebImageImageIOCoder.m
2018-08-10 15:20:55 +08:00
DreamPiggy
7ddb75710c
Add SDImageFormatHEIF represent mif1 && msf1 brands
...
Fix the current hard-coded system version checking with Image/IO source uttypes checking
2018-08-06 17:53:24 +08:00
DreamPiggy
dd6e4a1d2e
Follow App Store submit rule, upgrade the min Xcode version to Xcode 9.0
...
Using `@available` and `API_AVAILABLE` to check API availability
2018-07-06 12:57:43 +08:00
DreamPiggy
e9cf356e57
Renaming `SDWebImageProgressiveDownload` to `SDWebImageProgressiveLoad`. Which is more suitable for custom loader which also support progressive image loading. (No need to be download)
2018-04-26 21:42:25 +08:00
DreamPiggy
55e4ce35bd
Replace all the demo project to use `#import <SDWebImage/SDWebImage.h>` module headers instead of massive headers
2018-04-19 17:25:39 +08:00
DreamPiggy
57db312cc5
Add `SDWebImageLoader` protocol for custom image loader. Also introduce the `SDWebImageLoadersManager` to manage multiple loaders with priority
2018-04-18 20:26:14 +08:00
DreamPiggy
9f770b6c19
Refactor to support custom image cache used for web manager. Supports caches manager with multiple caches and op policy
2018-04-18 14:40:56 +08:00
DreamPiggy
25b61bb5ae
Refactor the cache path API. Only given the full cache path to allow user to choose to use filename or full path. And use a block instead of static array for additional cache path.
2018-04-13 11:10:14 +08:00
DreamPiggy
c3892d7d08
Move all download settings into SDWebImageDownloaderConfig, make it more easy to use with clear API.
...
Deprecate `createNewSessionWithConfiguration`, which make downloader not sync with URLSession. If user need to specify sharedDownloader config, just modify the defaultDownloaderConfig instead.
2018-04-05 00:15:53 +08:00
DreamPiggy
915278bfd8
Update the comments and demo for macOS
2018-03-29 19:43:34 +08:00
DreamPiggy
082c5af565
Add APNG coder to support static PNG & APNG rendering. Also update macOS's SDAnimatedImageRep
2018-03-29 17:45:56 +08:00
DreamPiggy
87bbcdc46f
Introduce SDAnimatedImage and SDAnimatedImageView for high performance animated image rendering on iOS & macOS
2018-03-25 17:23:12 +08:00
DreamPiggy
e012b36679
Refactor the image indicator usage for UIView category. Use two protocol `SDWebImageIndicator` & `SDWebImageProgressIndicator` to make this more customizable. Implement two class about activity indicator and progress indicator for both UIKit/AppKit
2018-02-04 14:37:51 +08:00
DreamPiggy
829d54ff03
Add the image transition argument for all UIView+WebCache, make this easy for user to do some fade transition. It also reuse the current setImageBlock and make it easy to customize
2018-01-23 11:58:22 +08:00
DreamPiggy
dfe68a5db6
Update demo to use modern way of image assets, and view layout for rotation
2017-11-05 15:23:32 +08:00
DreamPiggy
8e46c13bcd
Add empty launch storyboard to allow view on iPhone X
2017-11-05 07:58:05 +08:00
DreamPiggy
efb7c4ebf9
Update our iOS demo to modern way, add a UIProgressView to show image download progress
2017-11-05 07:22:26 +08:00
Bogdan Poplauschi
f55635de1a
Accidentally deleted a comma from an array declaration
2017-10-20 22:32:48 +03:00
Bogdan Poplauschi
86151183f6
Switched all the tests from using https://s3.amazonaws.com/fast-image-cache/demo-images/ * images which are big and sometimes fail to arrive in 5 seconds (before the test can timeout) to smaller images, basically using http://via.placeholder.com/ like http://via.placeholder.com/50x50.jpg or http://via.placeholder.com/200x200.png
...
This should speed up the tests a bit and also avoid some of the random failures due to timeout
2017-10-20 20:29:18 +03:00
Bogdan Poplauschi
7b79c29a8c
The docs say the progressBlock is called on a background queue, so when doing UI, we need to dispatch on the main queue
...
* @param progressBlock A block called while image is downloading
* @note the progress block is executed on a background queue
2017-08-11 16:38:32 +03:00
Bogdan Poplauschi
1f4f371a7a
Bumped libwebp submodule reference to version 0.6.0
2017-07-31 16:28:02 +03:00
Bogdan Poplauschi
8382899070
Merge pull request #984 from gztchan:master
...
Add url as param to progress block
2016-10-01 10:06:35 +03:00
Bogdan Poplauschi
17ae791953
Replaced #1640 - Added `sd_` prefix to the activity indicator related methods (`setShowActivityIndicatorView:`, `setIndicatorStyle:`, `showActivityIndicatorView`, `addActivityIndicator`, `removeActivityIndicator`)
2016-09-30 21:36:34 +03:00
Bogdan Poplauschi
88b025a5fa
Merge pull request #1438 from lianchengjiang/master
...
Animated webP support
2016-09-29 18:57:05 +03:00
Bogdan Poplauschi
e1840c3262
Refactored all the duplicate code from our WebCache categories into a UIView+WebCache category. All the other categories will make calls to this one. Customization of setting the image is done via the setImageBlock and the operationKey
2016-09-25 19:44:52 +03:00
Bogdan Poplauschi
a6316d1cce
Fixed the demo project, `clearDisk` no longer exists
2016-09-23 21:15:38 +03:00
Bogdan Poplauschi
0869c6915d
Added PNG image to demo app
2016-09-23 20:12:13 +03:00
Bogdan Poplauschi
5851f78aee
Fixed issue "The value of CFBundleVersion in your WatchKit app's Info.plist (1) does not match the value in your companion app's Info.plist (1.0). There values are required to match"
2016-06-14 23:10:33 +03:00
Bogdan Poplauschi
7684fbd9a7
Merge branch '4.x' into gif
...
# Conflicts:
# SDWebImage.xcodeproj/project.pbxproj
2016-06-07 08:39:17 +03:00
Bogdan Poplauschi
94c1ec3ed0
Revisited all copyright comments and decided for just one format
2016-06-01 15:53:08 +03:00
Bogdan Poplauschi
44cb993ee9
Successfull attempt to override the UIImageView(WebCache) methods in the FLAnimatedImageView(WebCache) category. This should make the integration easier. Not sure if it will always work
2016-06-01 10:11:46 +03:00
Bogdan Poplauschi
8a488d377b
Updated the example project so it supports the animated images as well.
2016-06-01 10:06:37 +03:00
Bogdan Poplauschi
f6cd50bb65
Converted our example xibs to the new Xcode format
2016-06-01 10:05:40 +03:00
Bogdan Poplauschi
64382b9100
Modern Objective-C syntax
2016-05-23 07:58:02 +03:00
Bogdan Poplauschi
b426975b9f
Replaced the demo images from static2.dmcdn.net that were no longer working with the demo images from FastImageCache
2016-01-21 15:36:36 +02:00
jiangliancheng
1aefd45a6b
add example for animated webP
2016-01-15 23:48:44 +08:00
Bogdan Poplauschi
32923fa2e8
Xcode 7.1 updates
2015-10-25 15:58:45 +02:00
Serban Mihai
7ba8208f17
iOS 9 App Transport Security Demo Target
...
fixed ios 9 load images caused by new App Transport Security feature
2015-10-15 16:46:40 +03:00
mythodeia
c68d585e49
activity indicator added
...
```
[cell.imageView setShowActivityIndicatorView:YES];
[cell.imageView setIndicatorStyle:UIActivityIndicatorViewStyleGray];
```
2015-07-15 10:50:04 +03:00
Tony
cee50eb648
Add url as param to progress block
2014-12-13 13:01:24 +08:00
Bogdan Poplauschi
6698910fe1
Revert "Loading Indicator view with 2 lines of code"
...
This reverts commit 2cfa5ccb88
.
2014-11-06 19:59:27 +02:00
mythodeia
2cfa5ccb88
Loading Indicator view with 2 lines of code
...
added support for UIActivityIndicatorView while the image is
downloaded, without adding extra ‘setImageWithUrl’ methods to the
UIImageView+WebCache category.
I used [this pull
request](https://github.com/mythodeia/UIActivityIndicator-for-SDWebImage
), original author is [JJSaccolo](https://github.com/JJSaccolo ), and
modded it a bit to support loading indicator while the image is
downloading.
the usage is basically this right before the usual sd_setImage...
methods:
```
// show activity indicator
[cell.imageView setShowActivityIndicatorView:YES];
// choose indicator style
[cell.imageView
setIndicatorStyle:UIActivityIndicatorViewStyleGray];
```
2014-11-06 19:26:44 +02:00