Editor’s note: If you’ve downloaded the Xcode 6 beta and played around with it, one thing you may notice is the change of Interface Builder. The default view controller is now wider and doesn’t look like an iPhone 5. When you position a button in the center of the view and run the app, it […]
This quick iOS Application Development tip will show you How to get SecKeyRefM from base64 coded string, which for iOS 7 utilises: So, let’s assume that you have a base64 coded public key, like: MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC3gn+tJ1+PbP0GHa6hmM35WsVyibpypWAwRuBYY4MGfh3VWoXgiyiLo5HJTW1eR9BUFq3z+yOG1rwzSabZ8I4zneWm0kH7xErSjNrMbmjirbL7e6TQNa1ujP/x4x9XVbqf3vIsNVs19kn/qSX/HGzd5Ct3TGAo0AT0T4JwkCfciwIDAQAB
As explained in the last post, ( How to make Flappy Bird like game using Cocos2D ) today, we learn how to make a Flappy Bird game using Objectivec SKSpriteKit for iOS7 in 20 rows of code!
You have an UILabel and want to know which letter was pressed on touch. From a question on stackoverflow, I’ve implemented in this fast and stupid way. Solution
What? Your project minimum iOS version is 5.0. You are using SDK 6.1 and want to know if some method or some classes used in project are unavailable for iOS < 6.1? Since Xcode don’t warn about it… here a trick to warn by yourself!
Today, an easy way to use google translate as Text to Speech service. Do you know this one? http://www.translate.google.com/translate_tts?tl=it&q=ciao,%20come%20stai?
Using private Framework, in particular SoftwareUpdateServices.frameworkyou can distinguish between carrier network, in particular, if your connection is 3G or GPRS/EDGE, or WiFi.
Suppose that we have a ViewController.h and .m like this:
Do you want to create an UIColor from RGB value? Here the snipplet: