Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

封装一个View 加入tableView 报错 #1

Open
clivexiang opened this issue Mar 4, 2016 · 0 comments
Open

封装一个View 加入tableView 报错 #1

clivexiang opened this issue Mar 4, 2016 · 0 comments

Comments

@clivexiang
Copy link

2016-03-04 16:24:25.789 StarWardrobe[13900:353472] -[**NSCFString xw_sizeWithfont:maxSize:]: unrecognized selector sent to instance 0x7fa342dc04e0
2016-03-04 16:24:25.794 StarWardrobe[13900:353472] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString xw_sizeWithfont:maxSize:]: unrecognized selector sent to instance 0x7fa342dc04e0'
* First throw call stack:
(
0 CoreFoundation 0x0000000105069e65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x0000000107c81deb objc_exception_throw + 48
2 CoreFoundation 0x000000010507248d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x0000000104fbf90a __forwarding
+ 970
4 CoreFoundation 0x0000000104fbf4b8 _CF_forwarding_prep_0 + 120
5 StarWardrobe 0x000000010483be4b -[XWCatergoryViewLayout prepareLayout] + 347
6 UIKit 0x0000000106b9a6e5 -[UICollectionViewData _prepareToLoadData] + 67
7 UIKit 0x0000000106b9ae6e -[UICollectionViewData validateLayoutInRect:] + 53
8 UIKit 0x0000000106b4a208 -[UICollectionView layoutSubviews] + 196
9 UIKit 0x00000001063a54a3 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 703
10 QuartzCore 0x000000010606f59a -[CALayer layoutSublayers] + 146
11 QuartzCore 0x0000000106063e70 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 366
12 QuartzCore 0x0000000106063cee _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24
13 QuartzCore 0x0000000106058475 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 277
14 QuartzCore 0x0000000106085c0a _ZN2CA11Transaction6commitEv + 486
15 QuartzCore 0x000000010608637c _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 92
16 CoreFoundation 0x0000000104f95367 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23
17 CoreFoundation 0x0000000104f952d7 __CFRunLoopDoObservers + 391
18 CoreFoundation 0x0000000104f8af2b __CFRunLoopRun + 1147
19 CoreFoundation 0x0000000104f8a828 CFRunLoopRunSpecific + 488
20 GraphicsServices 0x0000000109b12ad2 GSEventRunModal + 161
21 UIKit 0x00000001062ee610 UIApplicationMain + 171
22 StarWardrobe 0x000000010484cb3f main + 111
23 libdyld.dylib 0x000000010856e92d start + 1
24 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant