www.flashiphonedevelopment.com

I started a new blog today in conjunction with the launch of CS5, www.flashiphonedevelopment.com. It is strictly going to focus on iPhone development from a Flash developers perspective. There will be a lot of Flash CS5 iPhone Packager content, as well as a resource for learning Objective-C and the iPhone SDK from a Flash development perspective. I have lots of great stuff planned for it and with a little faith this whole Adobe vs. Apple fiasco will fade away.

Continue reading » · Rating: · Written on: 04-12-10 · 3 Comments »

Been a very busy 2010 so far

It has been a long time since my last post and have been fairly quiet over the last 4-5 months. 2010 so far has been a year of first and big changes.

Since January I have been working on writing my first book. It has been on my list of things to do ever since I started my career, but never really thought it would happen. So when I was approached to write one on the new Flash iPhone Packager last November I could not pass up the opportunity. It has been a really intense process and has kept me quite busy over the last 3 months. This week I will be finishing up the last few chapter edits, and it should be available sometime in June.

April 1st, 2003 was my first day at Fuel Industries, and 7 years and a week later, yesterday was my last day. The last 7 years has been an amazing journey and have learned and seen so much.  Working at Fuel has provided me with so many opportunities that I would not have had working elsewhere. The wide variety of types of projects has exposed me to so many new and different technologies, which has helped me become a better programmer. I was also fortunate enough to travel and see many parts of the world that I would not have seen on my own. The friends that I have made there will last forever, and it was hard to say goodbye to them.

So what’s next? In a couple of weeks I am going to start work at QNX here in Ottawa. QNX is a pretty cool company and you may have seen their QNX car on display at Adobe Max last year. QNX develops an operating system for embedded devices, which has a Flash layer which can be used to create interfaces and applications which run on their OS. I can’t talk about what I will be doing too much yet, but will once I get settled there.

2010 is turning out to be a pretty monumental year, and has been a great way to start a new decade. I am really looking forward to what the rest of the year and decade has in store for me. I’ll be at FiTC for Saturday and Sunday only. So if you ar0und let’s grab a drink.

Continue reading » · Rating: · Written on: 04-08-10 · 1 Comment »

I finally caved and joined the Twitter world

I have been able to resist for a really long time now, but being at 360 iDev made me realize that as a IPhone Developer you are really missing out if you aren’t on Twitter. A big portion of the community communicates using Twitter, and more importantly a big portion of Apple employees use it. 360 IDev was a great conference and it was really cool to be introduced to a new community. I mostly go to Flash conferences and it was great to meet new people in this fairly new community. You can follow me on twitter @juliandolce

Continue reading » · Rating: · Written on: 03-08-09 · No Comments »

Sushi Toss IPhone Version

splashpage

Today I received confirmation from Apple that my first IPhone app is ready for sale in the store. Sushi Toss originally was a Flash based web game on www.allgirlarcade.com, but we instantly saw that it would be a great title to port to the IPhone. The object of the game is to get the Sushi’s to the top where Jesse is waiting to eat them by flipping the phone. It’s a great use of the accelerometer as a input mechanic. You can also earn Gems for your All Girl Arcade account by playing the game that will let you buy new items in Spark City, the All Girl Arcade virtual world. This was my first application that I developed and learned an awful lot during the process. Here is the direct link to it in the app store.

Continue reading » · Rating: · Written on: 02-09-09 · No Comments »

Creating Interface Builder Plugins Mistake #1

I have been reading up on creating custom Interface Builder Plugins for my presentation at 360|iDev, and didn’t get very far when I figured out the first thing you should never do. When I created my project I just randomly named it IBPlugin. Well as it turns out there is a IBPlugin class already and when XCode creates your project it auto-generates a class with your project name and it subclasses IBPlugin. So you will end up with something like this @interface IBPlugin : IBPlugin. Obviously that won’t work and throws an error when trying to build it. So when creating a new Interface Builder Plugin Project name anything but IBPlugin.

Continue reading » · Rating: · Written on: 01-30-09 · No Comments »

Having Fun With The iPhone SDK

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.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-(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.

Continue reading » · Rating: · Written on: 11-11-08 · No Comments »

Spinner – Our first iPhone Game

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

Continue reading » · Rating: · Written on: 07-11-08 · 1 Comment »