April 2010
2 posts
CALayer, shadows, and performance.
On iPad, we get shadows on CALayers.. So, you can do this: aView.layer.shadowColor = [[UIColor darkGrayColor] CGColor]; aView.layer.shadowOffset = CGSizeMake(3., 3.); aView.layer.shadowOpacity = 0.8; aView.layer.shadowRadius = 5.; 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...
Apr 9th
Apr 6th
May 2009
1 post
1.2 & OS 3.0
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...
May 7th
February 2009
1 post
Version 1.1
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...
Feb 27th
Best Backtrace *ever*
My kind of humor. :P #0 0x933f3e17 in objc_exception_throw () #1 0x93a82eeb in +[NSException raise:format:arguments:] () #2 0x93a82f2a in +[NSException raise:format:] () #3 0x96f15e30 in _NSArrayRaiseInsertNilException () #4 0x96e342d4 in kHappyFunTable () #5 0x96e341e4 in kHappyFunTable () #6 0x30acdc20 in -[UINavigationController pushViewController:transition:forceImmediate:]...
Feb 1st
January 2009
6 posts
Macworld reviewed Reflections! Yay! →
Jan 29th
4 tags
Cocoa: The Subview Hierarchy
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 ...
Jan 24th
5 tags
Cocoa: The Responder Chain
Here is a helpful little method that you can use to print out the responder chain above a particular instance. - (void)_printNextResponder { id nextObj = self; while (nextObj) { NSLog(@"nextResponder %@",nextObj); nextObj = [nextObj nextResponder]; } }
Jan 21st
1 tag
“It’s not what you look at that matters, it’s what you see.”
– Henry David Thoreau
Jan 16th
Welcome
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.
Jan 16th