随笔分类 -  Objective-C

CCLabelTTF : will become a white rectangle
摘要:If you want invoke cocos2d-x function from a thread,It may be Crash.I am working on a network game using cocos2dx with libcurl.I created a CCLabelTTF on a CCLayer object.Then I made a thread to request my java server using curl.when a get response from the thread, I want to print a string on the CCL 阅读全文

posted @ 2013-03-22 09:52 Crazy_程序猿 阅读(171) 评论(0) 推荐(0)

duplicate symbol _SBJSONErrorDomain in:
摘要:If your iOS project use external static library, sooner or later you will encounter errors like this:ld: duplicate symbol _SBJSONErrorDomain in ...This happens when you use library A and library B, each use the same third party library such as SBJson.One usual way to fix this is rename the conflicti 阅读全文

posted @ 2013-02-25 14:52 Crazy_程序猿 阅读(363) 评论(0) 推荐(0)

导航