*
* 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 defaults and not options.
NSEnumerator *enumerator = [defsdict keyEnumerator];
NSString *key;
while ((key = [enumerator nextObject])) {
// make sure there's no resource mentioned in defaults and not options.
NSEnumerator *enumerator = [defsdict keyEnumerator];
NSString *key;
while ((key = [enumerator nextObject])) {
if (! [optsdict objectForKey:key])
if (! ([key isEqualToString:@"foreground"] || // don't warn about these
[key isEqualToString:@"background"] ||
if (! [optsdict objectForKey:key])
if (! ([key isEqualToString:@"foreground"] || // don't warn about these
[key isEqualToString:@"background"] ||
[key isEqualToString:@"TVTint"]
))
NSLog (@"warning: \"%@\" is in defaults but not options", key);
[key isEqualToString:@"TVTint"]
))
NSLog (@"warning: \"%@\" is in defaults but not options", key);