Apple on Friday issued to developers a golden master build of the upcoming Xcode 6.1.1 update, bringing bug fixes for Xcode Server, the Swift programming language and Interface […]
Quick tip: Localizable.strings – validation failed
This can be really painfull – you made you translation and at compiling time you see such error: Localizable.strings:0: error: validation failed: The data couldn’t be read because […]
Quick tip: Using background operations with Grand Central Dispatch
Yes, Grad Centeral Dispatch may seems big and complex. But if you need to put some work into background, its pretty easy, all you have to do is: […]
Quick tip: using singleton pattern
So far I saw many examples, but not every of them is valid, follow my rules and you will get proper singleton pattern. in MySingleton.h file: @interface MySingleton : […]
Quick tip: Architecture not supported when compiling for iOS 7.1 using XCode 5.1
Using configuration mentioned above you may receive one of those (or another) errors: types.h – User Defined Issues – Architecture not supported _types.h – User Defined Issues – […]
Quick tip: how to compile for iOS 5.1 under XCode 5
Well first though is to set deployment target to iOS 5.1 but its not so obvious. You have to remove arm64 from Architectures in “Build Settings“
Quick tip: How to hide status bar in iOS 7
It may seem trivial, but usual: [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationFade]; is not working, nor: [UIApplication sharedApplication].statusBarHidden = YES; Now everything is simplified and minimalistic, so all you have […]
Quick tip: cassert not found using box2d with cocos2d
Today everything worked fine until I added new CCLayer subclass. When trying to build compiler showed error at #include <cassert> in libs/Box2D/Common/b2Settings.h. The reasons is simple – new […]
Quick tip: Multiple build commands for output file
Today I had such strange warning when compiling cocos2d project in XCode: Warning: Multiple build commands for output file And result was even stranger – for even builds […]