I am seeking a GKVoiceChat example for the iPhone SDK in 4.0 or later. It will surely help with my iPhone game.
There are two Game Kit samples I've seen that include GKVoiceChat.
Search for GCPing in the Apple dev forums. (I'm not posting a link because it's not clear the author wants a public link). This sample is clear and basic, but demonstrates a wide range of working Game Kit multiplayer concepts. Search back over 'all' time, and look for the 'GCPing WWDC2010 - Updated for iOS 4 GM Seed' post.
multiplayer Pong client. Found here.
Haven't looked into sample 2 much yet, but it looks pretty good.
Related
Hi To All of you friends;
I am trying to implement the Bluetooth bar code scanner App in iPhone . I have spent 5 to 6 hour searching on it but unfortunately i could not found any specific document or example about it. Please give me any link of tutorial or example in answer.
i am new in iPhone development so please help me in this issue.
please give me answer this question.
You can use this:
https://code.google.com/p/zxing/
Zebra Crossing is an open-source library that can help you accomplish the scanning and creating of QR codes. However, you'll have to be more specific about the Bluetooth part.
I would like to do some fairly simple audio programming on OS X (using Lion and Xcode 4.3) -- synthesizing tones with given frequencies, mainly. Trouble is, Apple's documentation on the subject is way too high-level for my current knowledge of the subject. I've searched for weeks now for something that will get me started, to no avail.
Does anyone know of some Core Audio basic tutorial, or even some sample code, that will help me do fairly simple Core Audio tasks so that I can progress to understanding the Apple documentation?
I would suggest the book Learning Core Audio There is also sample code from the book at that site.
If you are looking to synthesize audio fairly easy, you are going to want to use a 3rd party library. Two possible solutions are FMOD and SuperCollider.
The pros and cons between the two are really that supercollider runs as a server that you can connect from app as a client and FMOD is compiled into an app and uses core audio to synthesize the sound. FMOD is clearly the choice if you are planning on distributing this app. SuperCollider also has it's own language that you'd have to learn the basics of to start tailoring your sounds synthesis. Here are some links:
FMOD:
FMOD Downloads (Comes with a bunch of sample code)
Super Collider:
SC Server Download
Sine Wave Generator Sample App
Great source of SC scripts and examples
I am planning to build a BOOK APP (with text, images, animation, sound etc) for iPad. I started learning Obj-C But I came to know about frameworks like Corona & Cocos2D and Corona boasts to be promising for my scenario. I have no working experience with any of these but am willing to learn. Which one is better to start with for building a multi-media book app? XCode & Obj-C OR Corona OR Cocos2D and how would would be the learning curve?
I can't speak for Corona, but Cocos2D is just an Obj-C library, so you'll still have to know a bit of Obj-C to get it going.
That said, I started with just Objective-C, then found Cocos2D which greatly improved my development speed, as all the groundwork is already implemented. Cocos2D has a much more managable learning curve than doing it all from scratch, and there are a number of great resources available (cocos2d forums, this blog, etc).
A quick Google search showed me that Corona has costs associated with it for distribution - cocos2d does not.
I'd have to say Corona SDK is perfect for making a book app as you described. The basis for this claim is that there have been iPad eBooks created using Corona which have made the top charts on the app store (See: http://blog.anscamobile.com/2010/11/rabbit-and-turtle-race-to-1-in-app-store-ebooks/ for a quick example).
Also, Chronicle Books (San Francisco based book publisher) has used Corona SDK to produce an eBook for the Nook platform:
http://www.barnesandnoble.com/w/animal-show-chronicle-books/1100618669
And several others I can't think of off the top of my head.
The reason why Corona is great is because books are about getting images, text, and interactivity on the screen, and with Corona, you can do each one of those things in just a few lines of code or less!
Also, with the full-power of OpenGL, you have near limitless possibilities when it comes to adding as much--or as little--interactivity to your book as you want. With Corona, you really do get to focus on the logic behind your book app, rather than all the technical details which are handled transparently for you in the background.
For more information on eBook and Corona, visit this page:
http://www.anscamobile.com/corona/switch/e-book-developers/
I'm developing a reader app for viewing and highlighting proprietary format documents. The documents are 2D. (Might add some cool page flip effects) The interface is similar to that of mobile safari. I have no prior experience with iOS development. Could you guys point me to the right direction? (Things I need to consider, tutorials, sample projects...) THX
developer.apple.com - it will take you a VERY long way. And then google whatever you need after that.
In itune U, you can download the 'iPhone Application Programming' course form Stanford University.
Assuming you're a registered developer, Apple just made all of the videos and slides from last week's WWDC available for free at http://developer.apple.com/videos/wwdc/2010/. There's an insane amount of very up-to-date info there.
I'm a Java guy who is familiar with Swing programming and recently just started out with iPhone programming. Boy the learning curve was steep and now I would like to start Cocoa development for desktop apps.
I've been reading on articles and considering buying few cocoa book to advance my learning, still I feel I don't fully get it yet. I started about 3 months back and pretty comfortable with XCode and Objective-C but developing cocoa for desktop apps looks like a different game from iPhone development.
My questions are:
Suitable book to pick up and learn from.
What blogs I should follow?
Any code example I should look at to learn from.
I've been looking at Adium src and considering buying Cocoa Programming 3rd but the book looks like bunch of stuff I already kinda know.
Suitable book to pick up and learn from.
Aaron Hillegass - Cocoa Programming for Mac OS X
What blogs I should follow?
Scott Stevenson
Wil Shipley
Cocoa is my girlfriend
Any code example I should look at to learn from.
Apple's Currency Converter tutorial
Apple's Currency Converter tutorial with cocoa bindings
EDIT: There is already a comprehensive list here on SO:
Good ways to Learn Cocoa?
Our CocoaHeads group has a really large list of resources:
http://cocoaheads.byu.edu/resources
If you're looking for books, check out: http://cocoaheads.byu.edu/resources/book
Or blogs: http://cocoaheads.byu.edu/resources/blog
Or tutorials: http://cocoaheads.byu.edu/resources/tutorial
Or sample code: http://cocoaheads.byu.edu/resources/sample-code
etc