Jenga from Apple Source Code / Motion Detection - iphone

Hello I was watching Apple WWDC 2010 and saw Steve playing jenga... Now I am die to see what is under the hood. Is there an code sample from Apple of that game? I was looking and can't find it...
May be someone can give me a link to it or something similar, perhaps tutorial?
I am dying to know how it works. Please help.
P.S: Here is a link ( http://www.youtube.com/watch?v=ORcu-c-qnjg ) to youtube, just so you know what I am talking about.
Thanks!

Jenga was an actual application, available on the app store. As such, you won't be able to find the source code for it. However, you may be interested in the following:
Apple gyroscope sample code
Which point you to Core Motion:
http://developer.apple.com/library/ios/#documentation/CoreMotion/Reference/CoreMotion_Reference/CoreMotion_Reference.pdf
Here is another example with source code:
http://cs491f10.wordpress.com/2010/10/28/core-motion-gyroscope-example/

Related

How to collect leap motion hand information and sent it to iPhone?

I am trying to develop a Unity project with leapmotion and iPhone, and Currently I have came up with a problem which is how to collect leap motion hand information. Like the location of the hands. There is a link on the YouTube showing that it is possible to implement leapmotion with iPhone.
Can anyone help with that.
The current solution I try to implement is I use C++ API to collect all the hand information and send it to iPhone through Bluetooth. It is also possible to communicate iPhone with WIFI. Hope that helps.
Finally, I use C# socket communication to implement it. And I success. I post the solution in my blog. Hope can help.
http://hanslen.me/blog/index.php/2017/01/06/leap-motion-brings-gesture-control-to-iphone/
If you have any other questions, leave a comment in my blog.

XCode Jigsaw Puzzle

I am trying to create a jigsaw puzzle app for iOS. From my searches through the internet, there really aren't any tutorials on the subject. Does anyone know of any links to good tutorials or tutorials on games that anyone knows of? Thanks. By the way, iOS4 would be appreciated.
Use Cocos2D: http://www.cocos2d-iphone.org/
Relevant for jigsaw pieces: http://www.cocos2d-iphone.org/forum/topic/6363
I am also thinking that divided original image with masking but it might be bad idea for us and also complicated to manage it. So For user who is beginner for jigsaw puzzle then This is the best question/answer
and you will also find source code from git.
Please hats off this man who solve your problem. I know this should be not an answer but should be comment but If I will put it as comment then may be use who have problem with jigsaw puzzle he/she can not find it easily so. I am putting it as answer.

iphone AVEditDemo or any video processing examples

I am trying to process videos in some way:
Cut and merge videos.
Record the screen and make the video out of that recording.
I look up on the Internet and stackoverflow as well and see that there is a code sample from apple called AVEditDemo but I could never find it out. If anybody has that example and willing to share with me or has any similar examples that can teach me how to do the 2 above jobs, it would be excellent.
I see there are some similar questions like this one, but I would love to have the code sample. It would help me move forward quickly.
There is a WWDC 2010 video called Editing Media with AV Foundation which may be useful to you and is available through the Developer Portal.
The AVEditDemo application is included in the WWDC 2010 Sample Code because it goes with the video. This should contain the AVEditDemo Application which goes with the Video. Unfortunately you need to download all the WWDC 2010 Sample Code to get it (232.6mb). You can get the entire download of all the code here: http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?code=y&source=x&bundleID=20645

openGL iphone tutorials

I am new bee in iPhone and wanted to work on openGL for some graphical game stuff.
Friends Please guide me in the following problems:
I needed some real good tutorials for openGL in iphone
Some tutorials in which we can get that how to move an object from one place to another so that we could animate it and read its border that is it being touched by the walls of the iphone
I have searched alot for openGL but could not find any satisfactory result.
Can u help me??
What did your search for? I found this link in google, you need to read through google and read and implement to learn from them.
Another related question on SO is Would like to learn how to use OpenGL within Objective-C, but have no idea where to start. Help?

Implementing Voice Over for iPhone application

I need to support Voice Over (for blind/partial blind persons) for my application. Please guide me how to implement this feature.
This is the Accessibility Programming Guide for iOS .
I think this question is very vague with many aspects, so I'll try to touch a few:
Technically, if you can abstract each string from the interface, this can help: http://www.acapela-for-iphone.com/. From the top of my head, I can think of saying out loud the positions of the interface elements. This approach requires simple interfaces, with few elements on 1 screen and maybe multiple screens for subsequent actions.
The best answer I've seen so far is this article which points to a Stanford lecture by Apple Engineer, Chris Fleisach
http://www.podfeet.com/blog/tutorials-5/build-accessible-ios-apps/
Chris's video: http://www.youtube.com/watch?v=5b0V6MltEnw
The video has what we all are looking for.
In the video starting around the 15:30 sec mark Chris starts talking about the relevant information. The API discussion starts at 19:29 sec.
I suggest to take a look at :
The design criteria to be well known before you code.
The developers guide to get some info about the way to code essential features.
The VoiceOver gestures if you need to know more than just the basic ones.
Some WWDC videos that are summarized and perfectly detailed with video timelapses to get directly the appropriate playback.
Many illustrations help to understand the concepts and the code snippets are provided in ObjC and Swift.