Cocoa Design Patterns
Learning OpenGL ES for iOS
Presentations
Buy at Amazon Now
  • Cocoa Design Patterns
    Cocoa Design Patterns
    by Erik M. Buck, Donald A. Yacktman
  • Learning OpenGL ES for iOS: A Hands-on Guide to Modern 3D Graphics Programming
    Learning OpenGL ES for iOS: A Hands-on Guide to Modern 3D Graphics Programming
    by Erik M. Buck

Errata > ColladaViewer doesn't compile

Hi,

The ColladaViewer doesn't compile - did it ever ? You may want to have a look or provide another tool for collada2plist conversion .

Thank you !

/Users/benedikteickhoff/Downloads/Examples/ch07_EXAMPLES/COLLADAViewer/COLLADAViewer/COLLADAGeometryInfo.m:34:1: Type of property 'NSUInteger' (aka 'unsigned long') in continuation class does not match property type in primary class
September 30, 2012 | Unregistered CommenterBenedikt Eickhoff
The COLLADAViewer.app compiled and was used in support of many of the book's later examples. Xcode/CLang started detecting the type mismatch in Xcode version 4.5.

The solution to the problem you detected is to change property declaration that has the error so that both the declaration in the class interface and the one in the continuation (unnamed category) have the same type. NSUInteger is a good choice for a consistent type. There is also a warning about a method deprecated in OS X 10.8.

As it happens, I've been working on a COLLADAViewer2.app the uses GLKIt in OS X and shares more code with the iOS examples in the book. COLLADAViewer2 will be posted very soon. It's cleaner, faster, and more capable than its predecessor. It also builds cleanly with Xcode 4.5.
September 30, 2012 | Registered CommenterErik Buck
COLLADAViewer2 - that's reaally good news. How can I be kept posted on when and where it's going to be available ?
Again: thank you very much and greetings from Berlin,

Benedikt
September 30, 2012 | Unregistered CommenterBenedikt Eickhoff
I'll post a notice here. COLLADAViewer2 should become available within a day or two.
October 3, 2012 | Registered CommenterErik Buck