- nil];
- }
- else
- {
- items = [NSArray arrayWithObjects:
- @"content-desc:", [NSString stringWithFormat:@" %@\n", self.contentDesc],
- @"type:", [NSString stringWithFormat:@" %@\n", self.type],
- @"text:", [NSString stringWithFormat:@" %@\n", self.text],
- @"index:", [NSString stringWithFormat:@" %@\n", [NSString stringWithFormat:@"%lu", (u_long)self.index]],
- @"enabled:", [NSString stringWithFormat:@" %@\n", (self.enabled ? @"true" : @"false")],
- @"visible:", [NSString stringWithFormat:@" %@\n", (self.clickable ? @"true" : @"false")],
- @"location:", [NSString stringWithFormat:@" %@\n", NSStringFromPoint(self.rect.origin)],
- @"size:", [NSString stringWithFormat:@" %@\n", NSStringFromSize(self.rect.size)],
- @"checkable:", [NSString stringWithFormat:@" %@\n", (self.checkable ? @"true" : @"false")],
- @"checked:", [NSString stringWithFormat:@" %@\n", (self.checked ? @"true" : @"false")],
- @"focusable:", [NSString stringWithFormat:@" %@\n", (self.focusable ? @"true" : @"false")],
- @"long-clickable:", [NSString stringWithFormat:@" %@\n", (self.longClickable ? @"true" : @"false")],
- @"package:", [NSString stringWithFormat:@" %@\n", self.package],
- @"password:", [NSString stringWithFormat:@" %@\n", (self.password ? @"true" : @"false")],
- @"resource-id:", [NSString stringWithFormat:@" %@\n", self.resourceId],
- @"scrollable:", [NSString stringWithFormat:@" %@\n", (self.scrollable ? @"true" : @"false")],