background preloader

iOS

Facebook Twitter

In App Purchase Tutorial | NIX Solutions. 21 September 2010 In-App Purchase is a great tool for sales setup if you offer additional functionality or features to your iPhone application. But it’s not that easy to get the job done… Here are some key tips for working with In-App Purchase that will help you add your products to the AppStore. – In-App Purchase Process – Purchased Products Types in the In-App Purchase – Model of Server – Application Interaction in the In-App Purchase – Pitfalls in Choosing Purchase Types in the In-App Purchase – In-App Purchase Sample Code and Implementation – Creating the Purchase Product and Test User In-App Purchase Process The connection with the Appstore has carried out through the StoreKit framework that is delivered with SDK starting from the 3.0 version.

Purchased Product Types in the In-App Purchase There are three types of products you can create: • Consumable • Non-Consumable • Subscription Consumable. Note! Model of Server – Application Interaction in In-App Purchase Pic. 1. That’s all. How to run a project in Xcode - memory leaks @ansca #CoronaSDK. Xcode Dapp video tutorial. App Development Tool | Building for Devices (iPhone/iPad) @ansca #CoronaSDK. Dashcode Invader: Using Dashcode To Create A Game. In this tutorial, we will continue building a simple space-invader type game. We will be continuing from the tutorial presented in Part1 at however, we are making some major changes, and I’ll explain why.

The first change has to do with restructuring the CSS code so that most of the objects within the game are nested inside a div element. The reason for this is to make it easier to add game elements into the game by using addChild to add into a div container. The index.html should be modified to look like this: [c] <! Hierarchically, the main container is "content" div. The main.css should be modified to look like this: We assigned the images, which were previously embedded in the html, as background-image of the div style-sheets.

We are also modifying the main.js by adding a new function named onMouseMoveHandler(). You can see the result playing in the browser below (I tested with Firefox 3 and iPhone Simulator on the Mac). Introduction To Dashcode: Creating iPhone Animation And Interactivity. Dashcode is another tool that comes with Apple iPhone SDK. It allows you to create simple applications. You can read an introduction to Apple’s Dashcode here. In this tutorial, we will demonstrate interactivity and animation. Familiarity with JavaScript and CSS is assumed. Our example will be a framework for a space-invader type game. Create a new project, use Custom template. Creating Local Deploy Folder Before we can import an image to be used as the player ship. The view panel will ask where to save/deploy. Select Save To Disk… in a location that you want (preferably not the Desktop). Importing Images Now goto Files view (use the View button of the toolbar) to see what files are in the project.

Above, you see my project. You can add files into the project by right-clicking on the folder (Images) and selecting Add File… For this tutorial, go ahead and add an image to be used as the player space-ship. Adding Images Into the Stage This is very simple. Sizing and Layering Images Handling Events. iOS Dev Center.