// Unwrap lines: delete \n but do not delete \n\n.
//
NSArray *lines = [text componentsSeparatedByString:@"\n"];
// Unwrap lines: delete \n but do not delete \n\n.
//
NSArray *lines = [text componentsSeparatedByString:@"\n"];
- (void) parseAttrs:(NSMutableDictionary *)dict node:(NSXMLNode *)node
{
NSArray *attrs = [(NSXMLElement *) node attributes];
- (void) parseAttrs:(NSMutableDictionary *)dict node:(NSXMLNode *)node
{
NSArray *attrs = [(NSXMLElement *) node attributes];
- for (NSArray *item in items) {
- RadioButton *b = [[RadioButton alloc] initWithIndex:i
+ for (__attribute__((unused)) NSArray *item in items) {
+ RadioButton *b = [[RadioButton alloc] initWithIndex: (int)i
items:items];
[b setLineBreakMode:NSLineBreakByTruncatingHead];
[b setFont:[NSFont boldSystemFontOfSize: FONT_SIZE]];
items:items];
[b setLineBreakMode:NSLineBreakByTruncatingHead];
[b setFont:[NSFont boldSystemFontOfSize: FONT_SIZE]];
for (i = 0; i < count; i++) {
NSXMLNode *child = [children objectAtIndex:i];
[self makeControl:child on:parent];
for (i = 0; i < count; i++) {
NSXMLNode *child = [children objectAtIndex:i];
[self makeControl:child on:parent];
{
UITableView *tv = (UITableView *) [self view];
NSMutableArray *a = [NSMutableArray arrayWithCapacity:20];
{
UITableView *tv = (UITableView *) [self view];
NSMutableArray *a = [NSMutableArray arrayWithCapacity:20];