https://github.com/vdaubry/uiimageview-scaleresize
A category to scale an image and align it to the bottom
https://github.com/vdaubry/uiimageview-scaleresize
Last synced: about 1 month ago
JSON representation
A category to scale an image and align it to the bottom
- Host: GitHub
- URL: https://github.com/vdaubry/uiimageview-scaleresize
- Owner: vdaubry
- License: mit
- Created: 2013-07-28T17:16:31.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-07-28T17:44:32.000Z (over 12 years ago)
- Last Synced: 2025-01-13T22:35:17.370Z (12 months ago)
- Language: Objective-C
- Size: 109 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
UIImageView-ScaleResize
=======================
A category to scale an image and align it to the bottom
Also deals with the problem of disk caching with the category from AfNetworking. See this issue : https://github.com/AFNetworking/AFNetworking/pull/1136
This category will scale and fit an image and align it to the bottom.
It also allows to download from the Network using either AFNetworking (for performance) or SDWebimage (for reliable disk caching)
* To download with AFNetworking using NSURLCache use : ```setImageWithURL:placeholderImage:imgSize:```
* To download with SDWebImage using their custom disk cache use : ```setOfflineImageWithURL:placeholderImage:imgSize:```
## License
This template is available under the MIT license. See the license file for more details.