forked from tchaikov/CCBReader
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception when adding a CCScale9Sprite to the a CCB #16
Comments
Solution for this problem: Add the following method to CCScale9Sprite.m
Note: the key is defined as "preferedSize" but not "preferredSize"; it may be something wrong in the exported CCB files. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When putting a CCScale9Sprite on the CCLayer Interface file;
Cocos2d version: cocos2d-iphone v2.1
CCBReader version: #define kCCBVersion 5
Exception raise at the following location:
File: CCNode+CCBRelativePositioning.m
It will be fine if the "[self setValue]" removed or create a method "setValue" in CCScale9Sprite.m
Sorry that I don't know how to fix it yet!
Regards,
ken
The text was updated successfully, but these errors were encountered: