deleteaso

When something’s not working delete aso files

acquisto levitra acquisto viagra buy accupril buy accutane aceon aciphex advair diskus aleve buy allegra amaryl buy amoxil amoxil antabuse buy augmentin buy caverta buy celebrex cheap cialis buy cipro buy clomid buy diflucan buy glucophage buy inderal buy kamagra buy lamisil buy lasix buy levitra buy lexapro buy nolvadex buy phenergan buy premarin buy propecia buy prozac buy silagra buy synthroid buy tadalis buy ultram buy viagra online buy zithromax cheap levitra cheap viagra comprare cialis generic cialis generic viagra generic viagra kaufen cialis kaufen propecia kaufen rimonabant kaufen viagra viagra online buy viagra buy cialis buy levitra buy zithromax buy cheap viagra buy viagra buy generic viagra buy cialis buy cialis online buy levitra buy propecia buy kamagra buy acomplia buy kamagra buy accutane buy amoxil buy augmentin buy celebrex buy cialis soft tabs buy cipro buy clomid buy diflucan buy effexor buy glucophage buy lasix buy lexapro buy lipitor buy cytotec buy nexium buy nolvadex buy prednisone buy prilosec buy prozac buy rimonabant buy soma buy synthroid buy tramadol buy ultram buy wellbutrin buy xenical buy zithromax buy zyban buy zyvox buy zyrtec buy zyprexa buy zyloprim buy zovirax buy zometa buy zoloft buy zofran buy zocor buy zimulti buy zetia buy zestril buy zestoretic buy zerit buy zelnorm buy zebeta buy zantac buy zanaflex buy zaditor buy xeloda buy wellbutrin sr buy vytorin buy vpxl buy voltaren buy vitaliq buy viramune buy vibramycin buy vermox buy ventolin buy vasotec buy vasodilan buy vantin buy vanadyl buy valtrex buy uroxatrol buy urispas buy ultracet buy tulasi buy triphala buy trimox buy trileptal buy tricor buy tribulus buy triamterene buy trental buy trazodone buy trandate buy tramaden buy torsemide buy toradol buy toprol xl buy topamax buy tofranil buy tetracycline buy terramycin buy tenormin buy accutane buy acomplia buy amoxil buy antabuse buy bactrim buy cafergot buy carisoprodol buy cialis buy cialis professional buy cialis soft tabs buy cialis super active buy cipro buy clomid buy cytotec buy depakote buy dilantin buy doxycycline buy female viagra buy flagyl er buy fluoxetine buy furosemide buy inderal buy lasix buy levaquin buy levitra buy levitra professional buy lexapro buy lipitor buy nexium buy nolvadex buy paxil buy penis growth oil buy penis growth patch buy penis growth pills buy phentrimine buy prednisone buy propecia buy prozac buy retin-a buy rimonabant buy robaxin buy singulair buy soma buy stromectol buy sumycin buy tagamet buy tenormin buy tetracycline buy torsemide buy tramadol buy trazodone buy triamterene buy ultracet buy ultram buy viagra buy viagra professional buy viagra soft tabs buy viagra super active buy voltaren buy vpxl buy zelnorm buy zithromax buy zoloft buy zyprexa buy zyban buy xenical

Having Fun With The iPhone SDK

November 11th, 2008 by julian

I have been playing with the iPhone SDK since the spring time and it’s a lot of fun to program for the platform. There is something to be said for having something tangible at the end of the day. You can be anywhere and pull out your phone and say “Hey, check out what I have been working on”.

I have been porting over some Flash code libraries and games to it, which has been interesting because there are some differences on how Objective-C works compared to Flash.

The first and potentially most obvious is positioning objects. The counterpart to DisplayObject in the SDK is UIView. There are several properties that allow you to position objects, but the one you want to use is UIView.center. This is where Flash and the IPhone SDK differ a little because Flash, usually, deals with x,y in the top left, where the SDK deals with the registration point in the center. When you are porting over design and graphics from the Flash and laying everything out in Flash it’s easier to deal with top left instead of doing all the conversion to the center. Here is some methods that I wrote that subclasses UIView. I should also mention that self in Objective-C is this in Flash.

-(void)x:(float)_x
{
self.center = CGPointMake( _x + ( self.bounds.size.width / 2 ), self.center.y );
}

-(void)y:(float)_y
{
self.center = CGPointMake( self.center.x, _y + ( self.bounds.size.height / 2 ) );
}

-(float)y
{
return self.center.y - ( self.bounds.size.height / 2 );
}

-(float)x
{
return self.center.x - ( self.bounds.size.width / 2 );
}

You can also use the frame property to position items, but things will go a little wonky when trying to do a CGAffineTransform on the object at the same time you are position it. For example, rotating the object at the same time you are animating it’s position.

Some of you might be saying we’ll why don’t you use Interface Builder to lay everything out? The biggest reason is that we only have a few people working on OSX so the designers don’t have access to it. But I will say that Interface Builder is a wicked application and I am hoping Thermo lives up to it.

Filed under iPhone having No Comments »

Spinner - Our first iPhone Game

July 11th, 2008 by julian

We released our first iPhone game today with the release of the new iPhone. It’s a pretty simple game that uses the accelerometer as the controls. We really wanted to get something up there for the release and worked really hard over the last few weeks. Here is the link to the game.

http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284967502&mt=8

Filed under iPhone having 1 Comment »