-
Notifications
You must be signed in to change notification settings - Fork 31
On macosx and iphone
- a Mac computer with 10.5 (Leopard) (Mac OS X 10.4 Tiger might work but we honestly haven’t tried in a long time).
- Xcode version 3.x, free from Apple (version 2.5 for Tiger…).
- for iPhone development you will need the iPhone SDK (includes Xcode 3.x).
You can download the sources from the git repository by opening a terminal window and typing:
git clone git://github.com/libnui/nui3.git
Open the Xcode project for nuiDemo in the Finder (look in the folder nui3/examples/nuiDemo) and make Xcode build and run the project.
Compiling all the project should take a while and eventually end successfully launching nuiDemo.
Every tutorials should build and run out of the box.
iPhone development requires that you subscribe to the iPhone developer program at http://developer.apple.com . NUI ease the learning curve as you don’t have to learn a new language if you already know C++, but you’ll still have to learn Xcode basics.
NUI also works on the iPhone simulator so you can give it a try even if you are not yet subscribed to the dev program from Apple.
You can toy around with the tutorials and examples to get a feel of how to use the framework. You can also create a new project by using “Yapuka” (in nui3/tools/yapuka) and read the TutorialCommon.