Programming

Toggle var in LUA

20 abril 2010 • By

Some thing to remeber… the clean way is ZOOM_STATE = not ZOOM_STATE

local ZOOM_STATE = true

ZOOM_STATE = (ZOOM_STATE ~= ZOOM_STATE)  -- the same of not ZOOM_STATE
ZOOM_STATE = not ZOOM_STATE; print(ZOOM_STATE)
ZOOM_STATE = not ZOOM_STATE; print(ZOOM_STATE)
Apple, iPad

Retrasado el lanzamiento internacional del iPad

15 abril 2010 • By

Bueno, resulta que han retrasado el lanzamiento del iPad porque en estados unidos se han quedado sin existencias! tardará 1 mes más de lo previsto en llegar para que les de tiempo de fabricar más iPad. En un principio yo desconocía que existiera una versión 3G del iPad tan pronto. Pero así es el tito-jobs. El caso es que me aposté unas birras a que el iPad iba a ser un éxito después de verlo en acción en mis manos porque antes creía que iba a ser un aparato sin mucho sentido de uso cotidiano. Pues bien marcamos una linea que era 1mill de unidades en un año, yo soy optimista y dije que era mucho. Como podréis leer 450.000 iPad WIFI y tienen 500.000 iPad 3G y se les queda corto para las ventas previstas y reservas que es por lo que retrasan el lanzamiento internacional.

Apple now says it won’t launch the iPad internationally until May, citing major U.S. demand as the primary reason for the one-month delay.

“Although we have delivered more than 500,000 iPads during its first week, demand is far higher than we predicted and will likely continue to exceed our supply over the next several weeks as more people see and touch an iPad,” the company says in a statement.

Continues Apple: “We have also taken a large number of pre-orders for iPad 3G models for delivery by the end of April.”

“Faced with this surprisingly strong U.S. demand, we have made the difficult decision to postpone the international launch of iPad by one month, until the end of May,” the statement concludes.

Apple has yet to reveal international launch prices for the device, which retailed at $499 when the wi-fi-only version hit shelves in the U.S. on April 3 — and by April 8, it had sold 450,000 units.

On that date, at an event in Cupertino, Apple CEO Steve Jobs revealed demand was already outpacing supply, stating “we can’t make enough of them yet.”

Traducción rápida: vendieron en la primera semana 500.000 iPad WIFI y han vendido antes de la salida del iPad 3G otros 450.000 iPad 3G a 500$. No tienen y deben fabricar más, de ahí el retraso, han superado sus expectativas de ventas de lejos.

Referencia: Gamasutra

Apple, iPad, iPhone, iPod, Programming

Upgrading a Target from iPhone to iPad

14 abril 2010 • By

If you have an existing iPhone application that you want to upgrade to run on iPad devices you need to upgrade the target that builds your iPhone application into a target that can build both an iPhone and an iPad application, or add a target to your project for building the iPad application.

To upgrade an iPhone target for iPad development, select the target in the Groups & Files list and choose Project > Upgrade Current Target for iPad.

For details about iPad-application development, see iPad Programming Guide.

ref: http://developer.apple.com/iphone/library/documentation/Xcode/Conceptual/iphone_development/115-Configuring_Applications/configuring_applications.html