Comments (7)
+1 Swift is the future
from uiactivityindicator-for-sdwebimage.
@moyoteg I solved the issue by simply changing it from #import "UIImageView+WebCache.h"
to #import <SDWebImage/UIImageView+WebCache.h>
#import <SDWebImage/UIImageView+WebCache.h>
#import <SDWebImage/SDImageCache.h>
Should do the trick.
from uiactivityindicator-for-sdwebimage.
By the way this edit in the SDWebImage
recommendations seems to support the updating the import
statements.
from uiactivityindicator-for-sdwebimage.
Any luck with this? =)
from uiactivityindicator-for-sdwebimage.
it works thank you! @dilizarov
from uiactivityindicator-for-sdwebimage.
good
from uiactivityindicator-for-sdwebimage.
I've done my fix like @dilizarov . however there is an error.
'-[UIImageView setImageWithURL:usingActivityIndicatorStyle:]: unrecognized selector sent to instance 0x7a98bb00'
*** First throw call stack:
(
0 CoreFoundation 0x0139aa14 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x00711e02 objc_exception_throw + 50
2 CoreFoundation 0x013a3d63 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275
3 CoreFoundation 0x012e16bd ___forwarding___ + 1037
4 CoreFoundation 0x012e128e _CF_forwarding_prep_0 + 14
5 imeproject 0x000837c4 _TFC16imeproject14ViewController14collectionViewfS0_FTCSo16UICollectionView22cellForItemAtIndexPathCSo11NSIndexPath_CSo20UICollectionViewCell + 3252
6 imeproject 0x00083919 _TToFC16imeproject14ViewController14collectionViewfS0_FTCSo16UICollectionView22cellForItemAtIndexPathCSo11NSIndexPath_CSo20UICollectionViewCell + 89
7 UIKit 0x02cbb236 -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:] + 448
8 UIKit 0x02cbaf78 -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:] + 65
9 UIKit 0x02cbda6b -[UICollectionView _updateVisibleCellsNow:] + 5136
10 UIKit 0x02cc2be2 -[UICollectionView layoutSubviews] + 241
11 UIKit 0x02425008 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 810
12 libobjc.A.dylib 0x00726059 -[NSObject performSelector:withObject:] + 70
13 QuartzCore 0x0205d80a -[CALayer layoutSublayers] + 144
14 QuartzCore 0x020514ee _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 388
15 QuartzCore 0x02051352 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 26
16 QuartzCore 0x02043e8b _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 317
17 QuartzCore 0x02077e03 _ZN2CA11Transaction6commitEv + 561
18 QuartzCore 0x020786c4 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 92
19 CoreFoundation 0x012b3ffe __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
20 CoreFoundation 0x012b3f5e __CFRunLoopDoObservers + 398
21 CoreFoundation 0x012a9108 CFRunLoopRunSpecific + 504
22 CoreFoundation 0x012a8efb CFRunLoopRunInMode + 123
23 UIKit 0x02353206 -[UIApplication _run] + 540
24 UIKit 0x02358bfa UIApplicationMain + 160
25 imeproject 0x000b78bc main + 140
26 libdyld.dylib 0x04d60a21 start + 1
27 ??? 0x00000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
from uiactivityindicator-for-sdwebimage.
Related Issues (18)
- Possible to not use method version? HOT 5
- UIActivityIndicator hugs left center when using auto layout HOT 2
- extra code need to be comment HOT 2
- How can i intergrate with SDWebImage? HOT 1
- The error in UIImageView+UIActivityIndicatorForSDWebImage.m HOT 11
- Support for sd_setBackgroundImageWithURL HOT 2
- Activity Spinner Not Centered HOT 4
- Invalid context error HOT 2
- Integrate with SD WebImage HOT 2
- Complete closure is called 4 times per image HOT 5
- Update SDWebImage HOT 3
- Not Carthage Compatible
- Support for tvOS.
- SDWebImage 4.0.0 error HOT 2
- Memory leak in UIImageView+UIActivityIndicatorForSDWebImage.m HOT 1
- UIActivityIndicator not stopping on cancelCurrentImageLoad HOT 1
- removeActivityIndicator HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uiactivityindicator-for-sdwebimage.