So you might have spent some time trying to figure out how to do a fade transition on iPhone. You probably found sample code and doc for things like curl and flip but not fade in/out, right? Well, it’s actually pretty simple:
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1.0];
someView.alpha = 0.1;
[UIView commitAnimations];
Bam. You just faded from whatever prior alpha value was set on someView to 0.1 (10%) opacity. The setAnimationDuration method takes a float value in seconds. You could go all the way to 0 to hide it, or set it higher later to fade it back in. This means you can do something like this:
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.5];
someImageView.alpha = 0.0;
[UIView commitAnimations];
[someImageView setImage: [UIImage imageNamed:@"anotherImage.png"]];
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.5];
someView.alpha = 1.0;
[UIView commitAnimations];
to create a fade transition from one image to the next. The total time from hiding one image to seeing the next would be 1 second, in this case.
Wow. Sometimes things are so simple you don’t realize how to go about them. Earlier I stated that Versions lacked the ability to Branch/Tag in SVN. I was very wrong. All you have to do is select your repository bookmark to browse a given repo, drag your project’s trunk folder onto your branches/tags folder while holding the option key (you’ll see a green plus just like you do in finder) and let go of your mouse button. It’ll then ask for a commit comment and you’re done. It couldn’t possibly be simpler. Brilliant.
Ultra Fail. Two years, two servers, worst uptime ever. Running my website on my own linux box via dsl is more reliable. Ditching them for linode.com. Migrating the final site tonight before I cancel. Honestly the worst hosting ever — they were great at first but they’re too big now. I hop on their live chat every day to tell them my server’s down again. Literally. Every. Day. Skip it and pay for linode or slicehost — it’s worth the extra 10 bucks a month.
Finally, we have a functional build of BM out on the App Store. I have no earthly clue why Drew and I never ran into the odd primary key bug prior to the release of 1.0. Bleh. Download the update and revise your review, por favor.
So I’ve moved my blog and other sites over to linode.com in hope of finding the holy grail (uptime/reliability). Let me know if I screwed anything up — older wordpress posts might be jacked (odd characters and missing pictures) up but it is what it is.
How I Roll