Number parsing was overly tolerant. Because NSScanner finishes parsing integers once non-integer characters are found, -[NSScanner scanInt:] was giving false positives. Thus, resulting in hexadecimel or floating point values to be parsed as integerse, with the remainder being discarded (e.g. "43f4da" was parsed as an NSNumber with intValue 43). The casting order was changed to prefer floating point numbers, and ensures that the whole value is parsed, so as to parse digit-prefixed strings properly.
Cocoa Touch does not have a Cocoa/Cocoa.h header. For basic classes (e.g. NSString, NSArray) the Foundation/Foundation.h header is sufficient. YAMLKit does not use anything that is not included there. This makes it possible to use YAMLKit on iPhone OS.
…rned on -Werror.
…oblem. Call [stringValue] on all elements if it's that dire.
…ing a linker error.
…appens when I add YKConstants to the YAMLKit header.
… the tests to use the actual framework.
…is is embarrassing.
…rvous that I'm over-enterprising this.
… do it.
…, and tests to verify this.