However, you’ll notice that with a few of those onscreen and suddenly your splendidly fast iPad starts acting like it’s computing through a puddle of molasses. The cause turns out to be those darn shadows, they’re re-composited every time the layer moves. The fix is easy as microwavable popcorn:
Reflections 1.2 has been out for a month or so. We need to update this more often. :)
Biggest new feature is the ability to save photos to your camera roll for use as wallpaper.
iPhone OS 3 is coming, and thus far there are very few issues with Reflections. In fact, there is really only one issue and that one stems from some fighting I had to do to get the look and feel I wanted. Without doing anything, Reflections is even faster in 3.0.
The latest build of Reflections has been submitted to the App Store. :)
Major changes include the ability to save photos to your camera roll, and from there you can use them as Wallpaper! Also, a new tag view has been added for all you Flickr users who actually use tags as your primary means of organizing photos. Finally, to round out the significant stuff, the tag cluster view will now let you add multiple tags from that cluster, without taking you back to the tag list after each one.
More useful code.. this time to print out the entire hierarchy of subviews below any particular view. For maximum usefulness, put this in a category* of UIView:
- (void)OP_printSubviewsOfView:(UIView*)view {
static NSInteger depthCount = 0;
NSArray *subview_array = [view subviews];
NSMutableString *tabString = [NSMutableString
stringWithCapacity:depthCount];
for (NSInteger i = 0; i < depthCount; i++) {
[tabString appendString:@" -- "];
}
NSLog(@"%@ %@",tabString,view);
if (subview_array) {
depthCount++;
for(UIView *v in subview_array) {
[self OP_printSubviewsOfView:v];
}
depthCount--;
}
}
Note(*): Categories in Objective-C are very useful. They are also easy to create:
But be careful. Read the chapter in the Objective-C 2.0 Programming Language document on them first. In fact, if you haven’t read that document from cover to cover, you should. It’s not that long.
Orange Petal is a small team in Austin, Texas who have the audacious goal of building the 37signals of iPhone applications. Click that fancy RSS feed button up there and keep an automated electronic eye on us, you might just be surprised.