Created
April 7, 2011 22:02
-
-
Save sujal/908845 to your computer and use it in GitHub Desktop.
Seeing this in a crash log (actually a hoptoad error report)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OCZeroEdgeTextView* textView = [[OCZeroEdgeTextView alloc] initWithFrame:CGRectMake(60.0f, 0.0f, self.contentView.frame.size.width-80.0f, self.contentView.frame.size.height)]; | |
textView.autoresizingMask = UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight; | |
LogDebug(@"Font metrics - lineHeight: %f", myFont.lineHeight); | |
LogDebug(@"textView width: %f", textView.frame.size.width); | |
textView.font = myFont; | |
textView.textColor = myTextColor; | |
textView.backgroundColor = myBGColor; | |
textView.inputAccessoryView = toolbar; | |
[self.contentView addSubview:textView]; | |
textView.scrollEnabled = NO; | |
contentTextView_ = textView; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this is all that the zeroedgetextview does | |
@implementation OCZeroEdgeTextView | |
- (UIEdgeInsets)contentInset { return UIEdgeInsetsZero; } | |
@end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OneCard:0:in `0x0001a90b HTHandleSignal + 30' | |
libsystem_c.dylib:1:in `0x343ef727 _sigtramp + 34' | |
JavaScriptCore:2:in `0x35f151a9 _ZN7WebCore10StringImpl6createEPKcj + 64' | |
JavaScriptCore:3:in `0x35f151a9 _ZN7WebCore10StringImpl6createEPKcj + 64' | |
JavaScriptCore:4:in `0x35f15165 _ZN7WebCore10StringImpl6createEPKc + 44' | |
WebCore:5:in `0x34701c65 _ZN7WebCore6StringC1EPKc + 24' | |
WebCore:6:in `0x3470e585 _ZN7WebCore8DocumentC2EPNS_5FrameEbb + 1652' | |
WebCore:7:in `0x3470de9f _ZN7WebCore12HTMLDocumentC2EPNS_5FrameE + 14' | |
WebCore:8:in `0x3470de8d _ZN7WebCore12HTMLDocumentC1EPNS_5FrameE + 8' | |
WebCore:9:in `0x3475c40d _ZN7WebCore5Frame26initWithSimpleHTMLDocumentERKNS_6StringEbRKNS_4KURLE + 132' | |
WebKit:10:in `0x36b030a9 +[WebFrame(WebInternal) _createMainFrameWithSimpleHTMLDocumentWithPage:frameView:withStyle:editable:] + 456' | |
WebKit:11:in `0x36b02d35 -[WebView(WebPrivate) initSimpleHTMLDocumentWithStyle:editable:withFrame:withPreferences:] + 1004' | |
UIKit:12:in `0x35b62a0f -[UIWebDocumentView initSimpleHTMLDocumentWithStyle:editable:withFrame:withPreferences:] + 150' | |
UIKit:13:in `0x35c6f1af -[UITextView commonInitWithWebDocumentView:isDecoding:] + 326' | |
UIKit:14:in `0x35c6da79 -[UITextView initWithFrame:] + 72' | |
OneCard:15:in `0x00007ac9 -[OCToDoItemCell initWithStyle:reuseIdentifier:] + 940' | |
OneCard:16:in `0x00012d53 -[OCLinedCardView tableView:cellForRowAtIndexPath:] + 82' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment