viezel / NappUI

A collection of extended functionality for the UI components of Titanium SDK
Other
121 stars 34 forks source link

ReFork of 10. #11

Closed dezinezync closed 11 years ago

dezinezync commented 11 years ago

[NEW] Supply a base color for the text. [NEW] Clickable links [MOD] Example updated to reflect changes for the above props [NEW] Compiled archive in dist/ folder [MOD] Version bump to 1.1.2

viezel commented 11 years ago

Super.. This I can auto merge :)

viezel commented 11 years ago

one thing though, please do not delete examples for the app.js example file. I know you care about attribute text, but other people might find other parts interesting too :)

dezinezync commented 11 years ago

Hey, sorry, I had no intention to do that. I didn't have the examples in the previous commit (the merge issue I told you about). Now I have it, so will preserve it for sure. :)

Thanks for merging it. Cheers.

viezel commented 11 years ago

Hi @dezinezync

Have you seen this before? It happen when I click on the label:

[DEBUG] Application booted in 51.985025 ms [ERROR] The application has crashed with an unhandled exception. Stack trace: [DEBUG] 0 CoreFoundation 0x0336f012 exceptionPreprocess + 178 [DEBUG] 1 libobjc.A.dylib 0x030b1e7e objc_exception_throw + 44 [DEBUG] 2 CoreFoundation 0x0336edeb +[NSException raise:format:] + 139 [DEBUG] 3 Foundation 0x00d00343 -[NSRLEArray objectAtIndex:effectiveRange:] + 131 [DEBUG] 4 Foundation 0x00d0309e -[NSConcreteMutableAttributedString attributesAtIndex:effectiveRange:] + 56 [DEBUG] 5 nappui 0x003a8423 -[TiUILabel(Extend) touchesBegan:withEvent:] + 443 [DEBUG] 6 libobjc.A.dylib 0x030c5705 -[NSObject performSelector:withObject:withObject:] + 77 [DEBUG] 7 UIKit 0x0119193c forwardTouchMethod + 271 [DEBUG] 8 UIKit 0x01191828 -[UIResponder touchesBegan:withEvent:] + 30 [DEBUG] 9 UIKit 0x010b6b1d -[UIWindow _sendTouchesForEvent:] + 380 [DEBUG] 10 UIKit 0x010b6f02 -[UIWindow sendEvent:] + 273 [DEBUG] 11 UIKit 0x01094d4a -[UIApplication sendEvent:] + 436 [DEBUG] 12 UIKit 0x01086698 _UIApplicationHandleEvent + 9874 [DEBUG] 13 GraphicsServices 0x03c35df9 _PurpleEventCallback + 339 [DEBUG] 14 GraphicsServices 0x03c35ad0 PurpleEventCallback + 46 [DEBUG] 15 CoreFoundation 0x032e4bf5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 53 [DEBUG] 16 CoreFoundation 0x032e4962 CFRunLoopDoSource1 + 146 [DEBUG] 17 CoreFoundation 0x03315bb6 CFRunLoopRun + 2118 [DEBUG] 18 CoreFoundation 0x03314f44 CFRunLoopRunSpecific + 276 [DEBUG] 19 CoreFoundation 0x03314e1b CFRunLoopRunInMode + 123 [DEBUG] 20 GraphicsServices 0x03c347e3 GSEventRunModal + 88 [DEBUG] 21 GraphicsServices 0x03c34668 GSEventRun + 104 [DEBUG] 22 UIKit 0x01083ffc UIApplicationMain + 1211 [DEBUG] 23 nappui 0x00003d28 main + 456 [DEBUG] 24 nappui 0x00002635 start + 53 [DEBUG] 2013-09-09 20:26:34.637 nappui[3480:c07] * Terminating app due to uncaught exception 'NSRangeException', reason: 'NSMutableRLEArray objectAtI ndex:effectiveRange:: Out of bounds' [DEBUG] * First throw call stack: [DEBUG](0x336f012 0x30b1e7e 0x336edeb 0xd00343 0xd0309e 0x3a8423 0x30c5705 0x119193c 0x1191828 0x10b6b1d 0x10b6f02 0x1094d4a 0x1086698 0x3c35df9 0x3c3 5ad0 0x32e4bf5 0x32e4962 0x3315bb6 0x3314f44 0x3314e1b 0x3c347e3 0x3c34668 0x1083ffc 0x3d28 0x2635)

dezinezync commented 11 years ago

Yes, just recently. I have fixed it, added ARC to the category. Need to get highlighting working again. A PR dhould come your way this week. :)

Cheers,

Nikh.

On Mon, Sep 9, 2013 at 11:57 PM, Mads Møller notifications@github.com wrote:

Hi @dezinezync Have you seen this before? It happen when I click on the label: [DEBUG] Application booted in 51.985025 ms [ERROR] The application has crashed with an unhandled exception. Stack trace: [DEBUG] 0 CoreFoundation 0x0336f012 exceptionPreprocess + 178 [DEBUG] 1 libobjc.A.dylib 0x030b1e7e objc_exception_throw + 44 [DEBUG] 2 CoreFoundation 0x0336edeb +[NSException raise:format:] + 139 [DEBUG] 3 Foundation 0x00d00343 -[NSRLEArray objectAtIndex:effectiveRange:] + 131 [DEBUG] 4 Foundation 0x00d0309e -[NSConcreteMutableAttributedString attributesAtIndex:effectiveRange:] + 56 [DEBUG] 5 nappui 0x003a8423 -[TiUILabel(Extend) touchesBegan:withEvent:] + 443 [DEBUG] 6 libobjc.A.dylib 0x030c5705 -[NSObject performSelector:withObject:withObject:] + 77 [DEBUG] 7 UIKit 0x0119193c forwardTouchMethod + 271 [DEBUG] 8 UIKit 0x01191828 -[UIResponder touchesBegan:withEvent:] + 30 [DEBUG] 9 UIKit 0x010b6b1d -[UIWindow _sendTouchesForEvent:] + 380 [DEBUG] 10 UIKit 0x010b6f02 -[UIWindow sendEvent:] + 273 [DEBUG] 11 UIKit 0x01094d4a -[UIApplication sendEvent:] + 436 [DEBUG] 12 UIKit 0x01086698 _UIApplicationHandleEvent + 9874 [DEBUG] 13 GraphicsServices 0x03c35df9 _PurpleEventCallback + 339 [DEBUG] 14 GraphicsServices 0x03c35ad0 PurpleEventCallback + 46 [DEBUG] 15 CoreFoundation 0x032e4bf5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 53 [DEBUG] 16 CoreFoundation 0x032e4962 CFRunLoopDoSource1 + 146 [DEBUG] 17 CoreFoundation 0x03315bb6 CFRunLoopRun + 2118 [DEBUG] 18 CoreFoundation 0x03314f44 CFRunLoopRunSpecific + 276 [DEBUG] 19 CoreFoundation 0x03314e1b CFRunLoopRunInMode + 123 [DEBUG] 20 GraphicsServices 0x03c347e3 GSEventRunModal + 88 [DEBUG] 21 GraphicsServices 0x03c34668 GSEventRun + 104 [DEBUG] 22 UIKit 0x01083ffc UIApplicationMain + 1211 [DEBUG] 23 nappui 0x00003d28 main + 456 [DEBUG] 24 nappui 0x00002635 start + 53 [DEBUG] 2013-09-09 20:26:34.637 nappui[3480:c07] * Terminating app due to uncaught exception 'NSRangeException', reason: 'NSMutableRLEArray objectAtI ndex:effectiveRange:: Out of bounds' [DEBUG] * First throw call stack: [DEBUG] (0x336f012 0x30b1e7e 0x336edeb 0xd00343 0xd0309e 0x3a8423 0x30c5705 0x119193c 0x1191828 0x10b6b1d 0x10b6f02 0x1094d4a 0x1086698 0x3c35df9 0x3c3

5ad0 0x32e4bf5 0x32e4962 0x3315bb6 0x3314f44 0x3314e1b 0x3c347e3 0x3c34668 0x1083ffc 0x3d28 0x2635)

Reply to this email directly or view it on GitHub: https://github.com/viezel/NappUI/pull/11#issuecomment-24102588