Commit Graph

209 Commits

Author SHA1 Message Date
Bogdan Poplauschi b7325c094b Updated the README 2016-10-01 09:03:41 +03:00
Bogdan Poplauschi 6d4e45bad7 Small update to the readme 2016-09-30 21:01:31 +03:00
Bogdan Poplauschi 0ba5241aa5 Added CodeCov icon to the readme 2016-09-26 12:52:51 +03:00
Bogdan Poplauschi 54adffa636 Merge pull request #1595 from rs/all_platforms
watchOS and OSX support (One platform to rule them all)
2016-08-26 22:41:26 +03:00
Bogdan Poplauschi b360cbdc80 Updated the Readme with the supported platforms 2016-08-26 20:07:49 +03:00
Bogdan Poplauschi 6de3e4c3bf Added logos and included in the readme 2016-08-26 12:45:33 +03:00
Bogdan Poplauschi 546a579c62 Added short description about how to use GIFs 2016-06-10 07:04:34 +03:00
Bogdan Poplauschi 3364a981d5 Merge branch 'master' into 4.x
+ SDWebImageDownloader downloadImageWithURL:... properly use the weakself-strongself pattern

# Conflicts:
#	.travis.yml
#	Examples/SDWebImage Demo.xcodeproj/project.pbxproj
#	README.md
#	SDWebImage.xcodeproj/project.pbxproj
#	SDWebImage/SDWebImageDownloader.m
#	SDWebImage/SDWebImageDownloaderOperation.h
#	SDWebImage/SDWebImageDownloaderOperation.m
#	SDWebImage/SDWebImageManager.m
#	Tests/Podfile
#	Tests/SDWebImage Tests.xcodeproj/project.pbxproj
2016-06-07 08:36:45 +03:00
Bogdan Poplauschi 6545a3aba1 Bumped the deployment target to iOS 7 (due to NSURLSession) and also incremented the library version to 3.8.0 2016-06-02 19:10:31 +03:00
Bogdan Poplauschi 4d295fdaf0 Improved the formatting of the Readme/Communication section 2016-05-28 22:08:31 +03:00
Bogdan Poplauschi 9aa95e83b9 Added Communication section to the readme 2016-05-28 21:52:11 +03:00
Bogdan Poplauschi 162174ccc1 Updated the diagrams + new sequence diagram 2016-05-17 19:02:45 +03:00
Bogdan Poplauschi aa1d2905c9 Created a Docs folder with md files and the diagrams. Moved all the HowToUse code samples to a dedicated file (HowToUse.md) to lighten up the Readme. 2016-05-10 08:50:55 +03:00
Bogdan Poplauschi 123f2fd2e6 Updated docs - tried to cleanup the readme, reorder based on other great projects examples and include the diagram 2016-05-10 08:39:46 +03:00
Bogdan Poplauschi a32a1775c2 Renamed SDWebImageManager `downloadImageWithURL:options:progress:completed:` to `loadImageWithURL:options:progress:completed:` as it makes more sense, since we check the cache first and download only if needed
Conflicts:
	SDWebImage/UIImageView+WebCache.m
2016-05-08 21:16:23 +03:00
Sethathi Morokole 11521aa040 Update README.md
Minor grammar fix
2016-04-18 16:03:39 +02:00
ReadmeCritic 8fe7ed5ca7 Correct the spelling of CocoaPods in README 2016-02-10 13:38:58 -08:00
Bogdan Poplauschi a090531604 Updated Readme 2015-10-29 22:02:22 +02:00
Bogdan Poplauschi 8dcc5b5ae7 Updated Readme - fixed type 2015-10-26 11:39:19 +02:00
Bogdan Poplauschi 3b9c09142a Updated Readme 2015-10-24 14:08:56 +03:00
Bogdan Poplauschi eec1b67497 Updated Readme (subspecs) 2015-10-06 16:59:48 +03:00
Adrian Macneil 4786e98605 Add Swift installation tips
Refs #993
2015-09-21 20:10:14 -07:00
Adrian Macneil 4d1abffb32 Fix typo 2015-09-11 11:59:51 -07:00
Antoine Cœur c011d1a88b spelling 2015-08-16 22:09:08 +08:00
Konstantinos K. ae11cf7e43 Update README.md 2015-07-15 09:39:25 +03:00
Bogdan Poplauschi 4f97897a41 Merge pull request #1045 from mariusschulz/patch-1
Updates Podfile entry to v3.7
2015-03-19 23:38:13 +02:00
Bogdan Poplauschi cd0c57f43e Merge pull request #1071 from flovilmart/Carthage
Adds support for iOS 8+ Framework and Carthage
2015-03-19 23:33:06 +02:00
Bogdan Poplauschi 85dde52173 Merge pull request #1038 from rounak/patch-1
fixed typo
2015-03-19 14:10:13 +02:00
Bogdan Poplauschi 72ed897c53 Formatting in the readme.md 2015-03-19 12:09:45 +02:00
Florent Vilmart 9ee89474ed Adds support for iOS 8+ Framework and Carthage
Adds Instructions for Carthage installation
2015-03-15 12:06:27 -04:00
庞博 56e2c6283c Update README.md.
Signed-off-by: 庞博 <bopang@sohu-inc.com>
2015-03-09 10:14:43 +08:00
Marius Schulz 4445bb2e47 Updates Podfile entry to v3.7 2015-02-24 10:49:22 +01:00
Rounak dadb740c47 fixed typo
aync -> async
2015-02-10 17:54:33 +05:30
Sam McDonald 0ae0e34642 Update README.md
Picky spelling fix.
2014-12-19 10:14:08 -08:00
Bogdan Poplauschi afd1931c52 Updated Readme with git clone command 2014-11-06 14:20:35 +02:00
Kyle Clegg 013ccba57b Updated code sample to not use deprecated api 2014-09-10 12:51:25 -06:00
dulgan 249adae4f0 Adding a flag for Cocoa Pods users
Using the Parse framework and SDWebImage frameworks installed via Cocoa Pods gives the same error as described in the Alternatively section of the Add Linker Flag section in this Readme.
I found a solution here : http://www.deanmao.com/2012/12/31/linker-error-using-cocoapods/
2014-08-27 14:10:27 +02:00
Bogdan Poplauschi 6dfec7ccd9 Updated README.md with CocoaDocs link 2014-08-12 13:59:40 +03:00
Robert Reiz bf6be426f3 Add References Badge to Readme 2014-07-26 10:45:46 +02:00
Robert Reiz 934c9cc96d Add Dependency Badge 2014-07-26 10:44:56 +02:00
Bogdan Poplauschi 2e708d3518 Updated README.md with badges 2014-07-04 10:56:09 +03:00
Bogdan Poplauschi 22782052a1 Updated README.md 2014-06-16 18:10:23 +03:00
Bogdan Poplauschi 6759e5982e Merge pull request #376 from ivanoblomov/master
Added alternate compiler flag for frameworks that extend optional libraries, like Parse and RestKit
2014-06-16 18:07:39 +03:00
Bogdan Poplauschi 12ee2d114b Updated README.md to fix #476 2014-06-11 11:44:45 +03:00
Bogdan Poplauschi 7edeef9f1a Updated README.md with CocoaPods install 2014-05-28 09:46:40 +03:00
Jeffrey Lee 065db6db0c Updates progress callback to use NSInteger
Pull Request #606 resolves this issue in the code but not in the Documentation.
2014-04-03 09:37:08 -05:00
Phạm Minh Thành 65163ea1ac Typo in README.md 2014-03-19 10:14:57 +07:00
Fabrice Aneche bdea43aec1 Dot-notation should always be used for accessing and mutating properties. Bracket notation is preferred in all other instances 2014-01-06 17:30:34 -08:00
Fabrice Aneche 21842747aa update documentation 2014-01-03 17:19:17 -08:00
Jonathan Sibley 00c200b8c1 Update argument list for example in README 2013-10-27 09:53:00 -07:00
Ray Lillywhite 1d6ace1886 Fix link to "Who Uses SDWebImage" wiki page 2013-10-25 10:20:34 -07:00
Olivier Poitrey ffd9e02e1e Update README.md 2013-08-11 13:16:47 -07:00
Tony Issakov b54f530925 Update README.md
Minor fix to callback arguments. NSData included now.
2013-07-07 12:46:04 +08:00
Olivier Poitrey 04fa4c97b5 Add WebP format support (fix #410)
How awesome is that?! =)
2013-06-07 20:43:51 +02:00
Olivier Poitrey d04fd47f5b Fix typo in download page URL 2013-06-01 14:23:45 -07:00
Olivier Poitrey 990df9f828 Update README.md 2013-05-06 15:11:26 +03:00
Andy LaVoy ad4babd25d Scale GIF images 2013-04-29 02:41:31 +02:00
Roderick Monje 0e7d3cde68 documented workaround for frameworks that extend optional libraries 2013-04-28 17:18:03 -05:00
Olivier Poitrey f747804843 Add some words about SDWebImageRefreshCached in README 2013-03-13 00:11:17 +01:00
Olivier Poitrey e7c02bb910 Migrate the no longer github supported download page to a wiki page 2013-01-21 09:36:08 +01:00
Olivier Poitrey 1e53e91513 Add imageFromMemoryCacheForKey: method to synchronously query the memory cache (fix #263) 2013-01-16 11:43:21 +01:00
Olivier Poitrey 43e94e7380 Fix typo 2012-12-06 09:26:19 +01:00
Olivier Poitrey 12ab710ebc Add 2.0-compat branch info to README 2012-12-06 09:24:09 +01:00
Matej Bukovinski 2e8c02556a Passing the exact cache type in the completion block.
- none, disk and memory
- can still be used as a bool (if true there was a cache hit)
2012-11-19 15:55:09 +01:00
Olivier Poitrey 9a283273f1 Fix typo in license URL 2012-11-05 12:20:18 +01:00
Olivier Poitrey 4f2b5bf674 Add Licenses section 2012-11-04 17:48:20 +01:00
Olivier Poitrey 64a745f2fc Add "How is SDWebImage better than X?" wiki link 2012-11-04 16:17:32 +01:00
Olivier Poitrey f8798294ab Remove outdated motivation section 2012-11-04 15:39:50 +01:00
Olivier Poitrey 535203d90c Add who use it section 2012-11-04 15:17:32 +01:00
Olivier Poitrey 2227266c41 First beta of SDWebImage 3.0
This version is a rewrite of the lib using iOS 5.0 as minimum target.
The lib as thus been refactored to use blocks/GCD from the ground up.
As a consequence, all delegate code style has been removed. The result
is a lot less lines of code and more flexibility.
2012-11-04 10:09:10 +01:00
Olivier Poitrey ccd3b025f0 Add missing installation instruction about linker flag 2012-10-20 04:06:04 +02:00
Olivier Poitrey 62a61ab249 Switch to framework distribution 2012-10-19 13:34:40 +02:00
Olivier Poitrey b734f289d0 Add a cached parameter to the success block to tell the receiver if the image came from cache or network #181 2012-09-07 23:00:50 +02:00
jianlin c1b22e83e5 needed to quote the <Multiple values> 2012-09-02 04:09:47 -07:00
jianlin e728b29170 more readable 2012-09-02 03:40:21 -07:00
jianlin 38f5acdb69 HeaderFile.h confusing
users may copy and paste it to source code (HeaderFile.h)
2012-09-02 03:39:34 -07:00
jianlin 633a86805f quote the string to add
for the search paths
2012-09-02 03:33:44 -07:00
jianlin 097276c0bb add instructions on how to pop out the box for header search paths 2012-09-02 03:28:56 -07:00
jianlin e89f27bebf add further explanation for Build Settings info 2012-09-02 03:10:31 -07:00
Olivier Poitrey c474512548 Fix the no image issue when no placeholder image is used with UITableViewCell default templates 2012-06-26 03:45:25 +02:00
Olivier Poitrey 46cc079069 Fix README type (fix #146) 2012-06-25 14:55:12 +02:00
Olivier Poitrey b357e8210c Add a dedicated target with MKAnnotation category
This free other targets from unwanted MapKit framework requirement
2012-06-05 23:31:27 +02:00
Olivier Poitrey aa64d20128 Fix README for static library instruction with archiving 2012-05-16 20:42:19 +02:00
Olivier Poitrey b52f85b31f Merge branch 'rebasedMaster' of https://github.com/cbowns/SDWebImage into cbowns-rebasedMaster 2012-05-12 00:26:55 +02:00
Olivier Poitrey f94ecf0600 Add URL to the API documentation to the README 2012-05-10 14:16:10 +02:00
Olivier Poitrey 110799614f Add appledoc comments 2012-05-10 14:07:38 +02:00
Olivier Poitrey ea819b2a45 Rework static library settings and documentation and add an example project
Inspired by http://www.blog.montgomerie.net/easy-xcode-static-library-subprojects-and-submodules
2012-05-10 00:30:48 +02:00
Eli Wang 16d661488a Update README.md with syntax color. 2012-05-09 12:42:09 +02:00
Olivier Poitrey 10aff8e1f0 Add cache key filter support to SDWebManager in order to allow custom cache key generation 2012-05-09 11:04:09 +02:00
Christopher Bowns 89b8cf5cb0 Update README.md 2012-04-26 17:56:41 -07:00
Ricky Gu 7030a8f802 Update static library instruction to be more comprehensive. 2012-04-25 15:05:43 -07:00
Piotr Banasik 6c402c1cc6 Updated README to match the header location changes from #101 2012-04-25 10:02:42 +08:00
Olivier Poitrey 14b79734d2 Add some common problem tips 2012-03-22 10:33:07 +01:00
Olivier Poitrey 6781045698 Add some backward compatible block support (fix #64) 2012-03-10 20:15:06 +01:00
Olivier Poitrey 8357f64a68 Add ARC info in README 2012-03-10 17:40:02 +01:00
Beat Besmer 03142f607c Fixed typos 2012-02-22 16:37:23 +01:00
Olivier Poitrey b207dcc6a8 Setup xcode project to allow import in a project as a static library 2012-01-28 00:05:40 +01:00
neogithub 0b9b945a37 Update README.md 2011-10-20 10:03:19 -03:00
Olivier Poitrey 8cc6acb502 Fix typos in the README file (thanks Laurent Etiemble) 2010-06-11 14:40:44 +02:00
Olivier Poitrey e0e369659e Replace the NSOperation based downloader by a simple async NSURLConnection (read-on to understand why)
I finally found the reason behind the download not started while UITableView is manipulated: the default NSURLConnection runloop mode. Its default mode is NSEventTrackingRunLoopMode which is interrupted by UI events. Changing default NSURLConnection runloop mode to NSRunLoopCommonModes just fix this good old responsiveness issue.

I thus decided to replace the current NSOperation based implementation by this finding, as NSOperation is far more expensive than simple async connections. Additionally, moving aways from NSOperation here fix an odd lagging issue with iOS 4, an issue I can't explain at the moment.

Note that `SDWebImageDownloader`'s `setMaxConcurrentDownloads:` method is now a no-op as I didn't implemented the NSOperation queuing system with async connections. I don't think it still necessary as thread-less async connectaions are very lightweight. If you think there is a real need of this, I may reconsider and implement it in the future. In the meantime, this method does nothing and its usage is declared as deprecated.
2010-06-09 04:36:18 +02:00
Olivier Poitrey 2fa0626aaa Remove the dirty hack of storing the helper into the first subview of the UIImageView and prevent duplicate downloads of the same URL
The helper (now called manager) is now handling the mapping between the UIImageView and its downloader.
This way we don't polute the UIImageView, and don't remove its capability to have subviews.
This change removes the automatic handling of image placeholder. The placeholder image can
be passed as second argument of setImageWithURL:placeholderImage:
The manager now handle duplicate downloads for the same URL gracefuly by sharing the same downloader
for all requestors.
Finaly, the manager handles URLs which can't create an image (HTTP error or invalid format) by flagging
them so it won't retry to download them again and again.
2009-09-24 02:35:14 +02:00
Olivier Poitrey 972c304957 Replace the SDWebImageView by an UIImageView category make the integration even simpler 2009-09-23 03:23:08 +02:00
Olivier Poitrey a7734af511 Remove Dailymotion paternity and move to joined paternity with Fraggle behind the Simple Design (SD) team name 2009-09-21 19:36:47 +02:00
Olivier Poitrey 8370d5dfaf Add the Fraggle's storry to the Motivation section 2009-09-21 16:03:45 +02:00
Olivier Poitrey 57b0dae146 Added "Motivation" chapter 2009-09-21 05:34:04 +02:00
Olivier Poitrey 891b957ba8 Add some example about using downloader and image cache store components independently + general doc enhancement 2009-09-21 04:46:34 +02:00
Olivier Poitrey 2177028001 Update TODO 2009-09-21 03:45:10 +02:00
Olivier Poitrey 37258addc2 Quick and dirty documentation 2009-09-19 21:14:40 +02:00
Olivier Poitrey 9cc8f904ab Initial revision 2009-09-19 20:45:42 +02:00