*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
// make sure there's no resource mentioned in options and not defaults.
if (![defsdict objectForKey:nsresource]) {
if (! (!strcmp(resource, "font") || // don't warn about these
// make sure there's no resource mentioned in options and not defaults.
if (![defsdict objectForKey:nsresource]) {
if (! (!strcmp(resource, "font") || // don't warn about these
!strcmp(resource, "textLiteral") ||
!strcmp(resource, "textFile") ||
!strcmp(resource, "textURL") ||
!strcmp(resource, "textLiteral") ||
!strcmp(resource, "textFile") ||
!strcmp(resource, "textURL") ||
NSObject *val = [d objectForKey:key];
NSLog (@"%@ = %@", key, val);
}
NSObject *val = [d objectForKey:key];
NSLog (@"%@ = %@", key, val);
}
if ([s isEqualToString:@"true"] ||
[s isEqualToString:@"yes"] ||
[s isEqualToString:@"1"])
if ([s isEqualToString:@"true"] ||
[s isEqualToString:@"yes"] ||
[s isEqualToString:@"1"])
NSRange r = [name rangeOfString:@"." options:NSBackwardsSearch];
if (r.length)
name = [name substringFromIndex:r.location+1];
NSRange r = [name rangeOfString:@"." options:NSBackwardsSearch];
if (r.length)
name = [name substringFromIndex:r.location+1];