Closed ghost closed 9 years ago
Is this still an issue or was it solved?
Still an issue
@MarcoAureli0 weird. I'm not having warnings here. Can you tell me exactly what you are trying to do? What are your string and pattern? (eg: [NSStringMask maskString:@"123" withPattern:@"(\\d)"];
)
NSStringMask *mask = [NSStringMask maskWithPattern:@"(\d{3}).(\d{3}).(\d{3})-(\d{2})"];
@fjcaetano same here. Do you have any idea?
_tfCPF.mask = [NSStringMask maskWithPattern:@"(\\d{3}).(\\d{3}).(\\d{3})-(\\d{2})"];
Log:
2014-06-25 23:56:22.018 App[20193:60b] Error Domain=NSCocoaErrorDomain Code=2048 "The operation couldn’t be completed. (Cocoa error 2048.)" UserInfo=0x10b7c3610 {NSInvalidValue=\d{1,18446744073709551615}}
2014-06-25 23:56:22.019 App[20193:60b] Error Domain=NSCocoaErrorDomain Code=2048 "The operation couldn’t be completed. (Cocoa error 2048.)" UserInfo=0x10b7c3610 {NSInvalidValue=\d{1,18446744073709551615}}
2014-06-25 23:56:22.020 App[20193:60b] Error Domain=NSCocoaErrorDomain Code=2048 "The operation couldn’t be completed. (Cocoa error 2048.)" UserInfo=0x10b7e18e0 {NSInvalidValue=\d{1,18446744073709551615}}
2014-06-25 23:56:22.020 App[20193:60b] Error Domain=NSCocoaErrorDomain Code=2048 "The operation couldn’t be completed. (Cocoa error 2048.)" UserInfo=0x10b7e18e0 {NSInvalidValue=\d{1,18446744073709551615}}
Loooong overdue
When I input number into UITextField I get these log messages from the console:
2014-01-06 14:25:50.123 Locgames[1437:70b] Error Domain=NSCocoaErrorDomain Code=2048 "The operation couldn’t be completed. (Cocoa error 2048.)" UserInfo=0x8d93280 {NSInvalidValue=\d{1,4294967295}} 2014-01-06 14:25:50.125 Locgames[1437:70b] Error Domain=NSCocoaErrorDomain Code=2048 "The operation couldn’t be completed. (Cocoa error 2048.)" UserInfo=0x8d93280 {NSInvalidValue=\d{1,4294967295}} 2014-01-06 14:25:50.128 Locgames[1437:70b] Error Domain=NSCocoaErrorDomain Code=2048 "The operation couldn’t be completed. (Cocoa error 2048.)" UserInfo=0x8cc4d10 {NSInvalidValue=\d{1,4294967295}} 2014-01-06 14:25:50.129 Locgames[1437:70b] Error Domain=NSCocoaErrorDomain Code=2048 "The operation couldn’t be completed. (Cocoa error 2048.)" UserInfo=0x8cc4d10 {NSInvalidValue=\d{1,4294967295}}
Any idea what these mean?