Recently I received a few comments and e-mails stating that the beginner’s game programming tutorial featured on this site had issues when running with Xcode 4. I decided to test things out, and had no issues when running the tutorial in Xcode 4 with the latest release version of the SDK.
You can see a screenshot of the game running in Xcode 4 and the simulator below.
The issues may have to do with some still running an older version of Xcode, possibly a beta version. Be sure to update to the latest version available in Apple’s developer website, and if you don’t have access to download the latest version of Xcode 4 you can find it available in the app store for $4.99 here.
If you still receive an error when running the tutorial even wit the latest version of the SDK, please state the error within Xcode.
Communicating web services can be a pain on iOS. Some of the Cocoa classes for web communication are not available which doesn’t help. Fortunately there are a number of open source projects that have made things easier for communicating with web services in Objective-C.
One such project is Restkit, and what Restkit provides is a very high level framework for communicating with RESTful services. Restkit works on the iOS and Mac OS X platforms. What really makes Restkit different from the similar projects out there is simpler usage syntax, and direct integration with Core Data so you can easily persist remotely loaded objects locally.
There are some great examples on Git included with Restkit demonstrating usage with a message board built in Ruby on Rails, an example of how to communicate with Twitter, and a step by step tutorial demonstrating commonly used functionality.
You can find the homepage of Restkit here:
The Github project can be found here:
Looks like a great framework for those looking to integrate Restful web services into their apps as quickly as possible.
Read More: Open Source iOS Libraries And Tools