You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Varela Round font through out my project. I downloaded this library and added the VarelaRound-Regular.ttf to the resource folder , included "VarelaRound-Regular.ttf" to the info.plist file under font category.
I tried the following code
NSMutableDictionary *row2 = [NSMutableDictionary dictionary];
[
row2 setObject:@"underlined text" forKey:@"text"];
[self.dataArray addObject:row2];
running this crashes.
The log i get is
RTLabelProject[3300:70377] *** Terminating app due to uncaught exception 'NSRangeException', reason: '-[__NSCFString replaceOccurrencesOfString:withString:options:range:]: Range {0, 1} out of bounds; string length 0'
The text was updated successfully, but these errors were encountered:
Hi,
I am using Varela Round font through out my project. I downloaded this library and added the VarelaRound-Regular.ttf to the resource folder , included "VarelaRound-Regular.ttf" to the info.plist file under font category.
I tried the following code
NSMutableDictionary *row2 = [NSMutableDictionary dictionary];
[
row2 setObject:@"underlined text" forKey:@"text"];
[self.dataArray addObject:row2];
running this crashes.
The log i get is
RTLabelProject[3300:70377] *** Terminating app due to uncaught exception 'NSRangeException', reason: '-[__NSCFString replaceOccurrencesOfString:withString:options:range:]: Range {0, 1} out of bounds; string length 0'
The text was updated successfully, but these errors were encountered: