After updating to the iOS 4.2 SDK, i receive the following exception in my app:
2010-11-29 22:03:54.942 Dommerklokke[19569:207] *** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer bounds contains NaN: [nan nan; 0 0]'
This is the line that causes the exception:
SCTextViewCell *commentCell = [SCTextViewCell cellWithText: @"Comment"
withBoundObject: self.match
withPropertyName: @"comment"];
And attached is a stack trace..
Seems like a very strange bug.. I tried to substitute
[[SCTextView alloc] init]
with
[[SCTextView alloc] initWithFrame: CGRectMake(0,0,0,0)]
but that didn't help.