After applying no less than seven coats of polish and buffing it to a high gloss, we have just submitted Poptweets to Apple’s App Store. You had better start following every celebrity you can find on Twitter and get to know them like family. Poptweets will be available on the iPhone and iPod Touch very soon!
Our happy mushroom-based number adding puzzle game Addicus has received another positive review, this time from The App Spotter blog.
The clock keeps your fingers popping and brain thinking quickly. Bottom line, this exercises your brain and keeps you sharp…
The App Spotter gave Addicus 4.5 stars out of 5.
Addicus received its most favourable review yet from AppBoy today. Hillel Fuld awarded it a perfect score of 5 out of 5 and declared that it is “among my top ten favorite games on the iPhone platform”. Here’s my favourite quote because I can relate:
I know I have used the word “addictive” to describe a few games, but I showed this game to my wife just yesterday, and literally had to grab the iPod out of her hand after four games of Addicus.
We’ve been hard at work on our next game for the iPhone and iPod touch and we’d like to share a few screenshots with you. Poptweets is an awesome trivia game that draws all its content from many of your favorite celebrities and personalities. All content in the game comes directly from a social network you may have heard of – Twitter!
Poptweets is near completion and we’ll have plenty more information on it over the next few days!
Here are just a few of the new features you’ll enjoy with this version:
- See when your friends are online!
- Send instant messages to your friends!
- Take part in the Addicus Fan Club!
- Discover other OpenFeint-enabled games!
Keep on popping those mushrooms!
Below is a recap of all of the iPhone app development tips we posted in the month of December advent-style. We hope this serves as a one-stop shop for many aspects of iPhone development that are commonly encountered.
1. How to Open a URL in Safari
2. How to Show an Alert with UIAlertView
3. How to Display an Activity Indicator with UIActivityIndicatorView
4. Eliminating class dependencies on your app delegate
5. How to Load a UIImage From a URL
6. How to Open the Mail App With a Pre-Composed HTML Email
7. How to Get the Current Time With NSDate
8. How to Get the Platform Name
9. How to Set Your App’s Splash Screen
10. String Comparison Using NSString
11. How to Hide (and Show) the Status Bar
12. How to Dial a Phone Number
13. How to Get Your App’s Display Name and Version
14. How to Retrieve Your App Delegate Singleton Instance
15. How to Make the iPhone Vibrate
16. How to Show the Network Activity Indicator
17. How to Prevent the iPhone From Sleeping
18. How to Take the Shine off Your App’s Icon
19. How to Format an NSString
20. How to Play a Video With MPMoviePlayerController
21. How to Upgrade Your iPhone Game to OpenFeint 2.4
22. How to Log to the Console Using NSLog
23. How to Suspend Touch Input
24. How to Open the SMS App With a Phone Number
It’s the day before Christmas, so this is the last post in our advent tip series. We’ve really enjoyed writing about so many little things that are so easily accomplished with the iPhone SDK and we hope that they’ve helped you in developing your iPhone apps. This may be the last blog post in this series, but you can be sure we’ll still be writing about our adventures with iPhone, cocos2d and OpenFeint development.
Less Yap, More Tip
Today’s advent tip is how to open the Messages app (aka the SMS app) with a specific phone number populated in the To: field. This is accomplished with great ease because the iPhone has implemented the sms: URI scheme. Therefore, we can use the UIApplication class’ openURL method, which we have seen before when we discussed how to dial a phone number, pre-compose an email, and yes, even open a URL.
So here it is: the one line of code you need to pop open the SMS app with a phone number:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"sms:5555555555"]];
Have you ever encountered a situation where you wish you could just pause and resume touch input while developing an iPhone app? Sure, you could always increase the complexity of your input handling by considering the state of any number of variables, but there are some times when just switching input off and on would be easiest.
We had a number of cases like this when developing Addicus. In particular, because we have both the game and game over screens operating in a single cocos2d scene, we were noticing some bugs that occurred because of the way we handled input. This was solved by suspending input for brief periods of time.
Input Goes Off
Here’s how to tell your iPhone app to stop responding to touch events in just one line of code:
[[UIApplication sharedApplication] beginIgnoringInteractionEvents];
Input Goes On
And as you might expect, resuming responding to touch input events is similarly easy:
[[UIApplication sharedApplication] endIgnoringInteractionEvents];
In celebration of the season, we’re happy to announce that Addicus is now on sale for the extra low price of $1.99.
If you’re doing some last minute Christmas shopping on the app store, or if you’re looking for the best puzzle game to load onto your freshly unwrapped iPhone, then look no further than Addicus.
Merry Christmas from Get Set Games!
Xcode has a built in console that provides an invaluable debugging tool for iPhone app development. It gives you a way to monitor text output from your app live at runtime. It works both for apps being debugged in the simulator and on a device.
Logging statements to the console is just as easy as you would expect it to be in iPhone app development. Just run the NSLog function like so:
The NSLog statement also supports string formatting specifiers, so you can also output the values of variables to the console with just one line. Below are some examples:
NSString * str = @"hello world"; NSLog(@"%@", str); int num = 10; NSLog(@"%i", num); float price = 1.99; NSLog(@"%f", price);